Forum: Ruby on Rails Hel using paperclip + imagemagick

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
John S. (Guest)
on 2009-01-11 02:17
I use paperclip to upload images and works great, but I am unable to
resize them with imagemagick. All my photos are in system/public/photos
and then in /11/original or 12/originial, for example. It is suppossed
to be created a 11/small or 12/small directory, but it is nowhere. In my
controller I have:

 imagemagick_for "#{RAILS_ROOT}/public/system/photos"

I will appreciate any help
John S. (Guest)
on 2009-01-11 02:37
I get this when I try to open the img in another window:
Image could not be processed. You have a nil object when you didn't
expect it! You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.[]
This topic is locked and can not be replied to.