Hello,

I am learning rails and trying to use ckeditor and paperclip.
When I try and upload an image file, I get:

[paperclip] Content Type Spoof: Filename 1.jpg (["image/jpeg"]), content
type discovered from file command: . See documentation to allow this
combination.
(1.0ms)  ROLLBACK

What do I need to change to resolve this?

my picture.rb contains:
validates_attachment_content_type :data, :content_type => /\Aimage/

Thank you

Frank

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/cc9516c527b416796cda885bf96f860c%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to