# File\_column plugin and mime types

**URL:** <https://www.ruby-forum.com/t/file-column-plugin-and-mime-types/81086>\
**Category:** Rails\
**Created:** [January 3, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/file-column-plugin-and-mime-types/81086 "2007-01-03T18:37:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nithin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/919ad9/32.png) [@Nithin](https://www.ruby-forum.com/u/Nithin)\
**Post date:** [January 3, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/file-column-plugin-and-mime-types/81086/1 "2007-01-03T18:37:47Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Nithin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/919ad9/32.png) [@Nithin](https://www.ruby-forum.com/u/Nithin)\
**Post date:** [January 3, 2007, 6:43pm UTC](https://www.ruby-forum.com/t/file-column-plugin-and-mime-types/81086/2 "2007-01-03T18:43:48Z")

</div>

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?
