Forum: Ruby on Rails file_column plugin and mime types

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
37c697f0da79949a77c6dfb69101ac4d?d=identicon&s=25 Nithin (Guest)
on 2007-01-03 18:37
(Received via mailing list)
I am running into an error using file_column plugin, and am not sure
where the problem lies. I am trying to upload Microsoft Excel files and
Adobe Illustrator files, but they are incorrectly identified as
Microsoft Word and Adobe Acrobat files, respectively.

I am not sure if this is a problem with the file_column plugin or
rmagick. Any ideas?
37c697f0da79949a77c6dfb69101ac4d?d=identicon&s=25 Nithin (Guest)
on 2007-01-03 18:43
(Received via mailing list)
Looking into the matter futher, it actually seems that the problem lies
with the UNIX 'file' executable that the file_column uses to 'guess'
the mime type. What is the best way to disabling this check? Should I
alter the code directly?
This topic is locked and can not be replied to.