search for: validate_content_type

Displaying 1 result from an estimated 1 matches for "validate_content_type".

2009 May 07
1
Paperclip: strange mime type on windows
When i upload a pdf, validations doesn''t work, only images validation works. Avoiding check, file was loaded but with this content type: file_content_type: "binary/octet-stream" How can i solve? I''d like to have "application/pdf" -- Posted via http://www.ruby-forum.com/.