thoughtbot/paperclip — pull request #1519 by quainjn (2014-04-21 17:36:42+00:00)
Title: Assigning a file sets the correct content_type

This partially reverts https://github.com/thoughtbot/paperclip/commit/41c092d9d8801ac88fbfdfff8dfdc9262444cc86.

When a CSV file is created in ruby and assigned as the attachment, the mime type detected by the command line is "text/plain", not "text/csv".