Uploading docx files with Paperclip and Rails
I just ran into an issue with the Paperclip gem not allowing a user to upload documents of the docx variety even though I had the ’application/msword’ content type allowed in my model. It turns out that the docx content type is a much longer string. To get the upload to validate properly, you need to...
