I'm building a Rails 3.1 app and I'm using S3 and paperclip in a for photo storage, but I keep getting the following error:
RuntimeError (Style thumb has no processors defined.):
Here are the pertinent lines from my Photo model:
has_attached_file :photo,
:default_style => :original,
:styles => {:thumb => "150x150>"},
:url => "uploads/photos/:id/photo.:extension",
:path => "uploads/photos/:id/photo.:extension",
:storage => :s3
Here is the code around line 49 in the photos controller:
@photo = current_user.photos.new
@photo.caption = params['Filename']
# first save so that we can render a row
@photo.save
@photo.photo = params['Filedata']
Thread.new do
# second save to upload the photo
@photo.save
end
Any ideas as to what I'm doing wrong?
converttool installed in a place that Paperclip can find it? - tadman