I\'m using Carrierwave to handle image uploads, but I\'m not using a form, instead I use local files in the server.
How can I make this work?
@user = Use
@user = User.first image_path = "/tmp/pic-s7b28.jpg" @user.image = File.open(image_path) @user.save!
You can check examples in the carrierwave readme