jnicklas/carrierwave — Issue #505: undefined local variable or method `setup_modifications' for #<Photo:0xc0859c4>
Author: huacnlee
Created: 2011-10-26 17:00:35+00:00
State: open

NameError (undefined local variable or method `setup_modifications' for #):
app/controllers/photos_controller.rb:50:in `create'

in app/controllers/photos_controller.rb:50
photo.image = params[:image]

This issue only in production environment, it work fine in development, so only that error log.
gem 'carrierwave', '0.5.6'
gem 'carrierwave-mongoid', '0.1.2'