If I cannot get this resolved, what editor do most use that allows users to 
upload and embed images?
Tinymce?

On Friday, August 22, 2014 11:18:44 AM UTC-4, Ruby-Forum.com User wrote:
>
> 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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/a2bab399-3191-417c-a842-004dcfb83ff0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to