# Attachment\_fu and Internet Explorer

**URL:** <https://www.ruby-forum.com/t/attachment-fu-and-internet-explorer/158567>\
**Category:** Rails\
**Created:** [January 24, 2009, 11:38pm UTC](https://www.ruby-forum.com/t/attachment-fu-and-internet-explorer/158567 "2009-01-24T23:38:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbaggins](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/2bfe46/32.png) [@bbaggins](https://www.ruby-forum.com/u/bbaggins)\
**Post date:** [January 24, 2009, 11:38pm UTC](https://www.ruby-forum.com/t/attachment-fu-and-internet-explorer/158567/1 "2009-01-24T23:38:42Z")

</div>

Hi Guys / Gals,

I’m stumped on a attachment\_fu & IE issues that I hope someone here can  
help with.

I’ve got attachment\_fu working nicely with firefox, safari, but when I  
use the same form from IE, I get the following complain.

undefined method `content\_type’ for “C:\Documents and  
Settings\Tester\Desktop\logo.gif”:String

I’ve made sure that my form is multipart, and does a post, and that the  
following is inside attachment\_fu.rb.

@@content\_types = [‘image/jpeg’, ‘image/pjpeg’, ‘image/gif’,  
‘image/png’, ‘image/x-png’, ‘image/jpg’]

Am I smoking c\*ack here, or missing something critical?

Your help is greatly appreciated.

Bilbo
