technoweenie / attachment_fu

Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc.
http://weblog.techno-weenie.net
MIT License
1.02k stars 337 forks source link

Word 2010 view #29

Open zukowskig opened 14 years ago

zukowskig commented 14 years ago

When a user uploads a Word 2010 doc (.docx) file, and then that file is accessed via the browser, the view on the page is garbled. You can download the link and then bring up the file and it appears correct. If you change the name of the file to .doc, you can view it on the browser. What's the solution to be able to view .docx on the browser?