I''m using attachment_fu for uploading all of my files and have done so
successfully except when I try to upload zip files.
I continuously get this error: "Size is not included in the list"
I implemented this fix: http://www.railsforum.com/viewtopic.php?id=6307
but it didn''t work.
Here is my model code:
has_attachment :content_type => ''application/zip'',
:storage => :file_system,
:path_prefix => ''../downloads'',
:max_size => 11102400.kilobytes,
:min_size => 2.kilobytes
validates_as_attachment
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---