Displaying 1 result from an estimated 1 matches for "039_create_avatars".
2007 Jul 04
2
content_type from a local file?
I''m using a Rake task to add local files into a database designed for
use with attachment_fu.
http://eldorado.googlecode.com/svn/trunk/db/migrate/039_create_avatars.rb
http://eldorado.googlecode.com/svn/trunk/lib/tasks/import_files.rake
So, attachment_fu has a "content_type" field, which apparently is
receiving that information from the browser...?
I''m trying to figure out if there is a way to get the content_type of a
file (e.g. ''...