Forum: Ruby on Rails attachment_fu and Internet Explorer

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Sjs W. (Guest)
on 2009-01-25 00:38
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
This topic is locked and can not be replied to.