rails carrierwave - image url saved in db but file not saved
问题 I have a form where I use cropit.js to crop an image. Button is onclick calling jquery function which takes result of cropit (cropped image) and with ajax push it to controller. Here it seems to work, but when I do this, everything looks ok, I dont see any error but the result is that url is stored in database with file name, but file itself is not stored in default uploads directory here is my model class Project < ActiveRecord::Base mount_uploader :profile_pic, ProjectProfileUploader end