Search code examples
pluginspaperclipruby-on-rails-3.1

paperclip image broken in rails 3.1rc4


I am using rails 3.1rc4 with paperclip and i cannot upload any image file with. I keep getting this error
Image D:/Users/MOBILE/AppData/Local/Temp/stream20110612-3872-y7hmme-0.jpg is not recognized by the 'identify' command. I have imagemagic installed. But it works in <= rails 3.0.8rc4.


Solution

  • I am not sure if this will adress your specific issue but I found this and maybe its related:

    https://github.com/thoughtbot/paperclip/issues/481

    It states: The paperclip:refresh:metadata rake task fails with Rails 3.1 as ActiveRecord no longer supports instance.save(false) - you must now use instance.save(:validate => false) instead.