To send an image on my filesystem to a user, I have send_file in my controller (I''m hard coding to illustrate the problem): def sendPhoto send_file( RAILS_ROOT + ''/public/userPhotos/3/thumbnail.gif'', :type=>''image'', :disposition=>"inline") end I get an error like I''m using a form: TypeError (Do not know how to handle a string with value ''thumbnail.gif'' that was passed to a file_column. Check if the form''s encoding has been set to ''multipart/form-data''.): .//vendor/plugins/trunk/lib/file_column.rb:68:in `assign'' .//vendor/plugins/trunk/lib/file_column.rb:653:in `filename='' .//app/controllers/item_controller.rb:273:in `sendPhoto'' Why is file_column even involved here? I''m just trying to send a file in the filesystem to the user. Why is file_column thinking I am submitting a form? If I comment out file_column out of my Photo class, it works fine: Streaming file script/../config/../public/userPhotos/3/thumbnail.gif --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---