Hi , i am uploading files using attachment_fu ,i can upload files with extension .txt, .xls, .doc but when i am going to upload .pdf extension file i gives
Validation failed: Content type is not included in the list error. My model file code is here . class Model< ActiveRecord::Base has_attachment :content_type =>['application/pdf','application /msword','application/vnd.ms-excel','text/plain'], :storage => :file_system, :size => 0.kilobytes..10000.kilobytes validates_as_attachment end Is there any issue for attachment_fu or anything else ? -- 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---