Just out of curiousity, what OS is hosting the Rails application? And as a quick test, comment out the validates_as_attachment in your Cover class, and try it again... that should tell you if its the validation that is causing the save to fail.
If I recall, there are a number of tweaks out on the web to correct an issue with the validation... something akin to resetting the file/data pointer for reading the uploaded file, but this is all vague recollection from about a year ago for me. -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

