ruby on rails - Carrierwave and Jcrop not cropping with Minimagick -
i'm following ryan bates tutorial on how crop images carrierwave , jcrop. but, images not being cropped. x,y,w,h values being passed in parameters, no cropping taking place. im using minimagick. appreciate someone. i've followed similar issues in stackoverflow none give solution. thank you photo_uploader process :resize_to_fit => [800,800] version :big process :resize_to_limit => [800,600] process :convert => 'jpg' end version :thumb, :from_version => :big process :crop resize_to_fill(100,100) end def crop if model.crop_x.present? resize_to_limit(600, 600) manipulate! |img| x = model.crop_x.to_i y = model.crop_y.to_i w = model.crop_w.to_i h = model.crop_h.to_i img.crop "#{model.crop_x}x#{model.crop_y}+#{model.crop_w}+#{model.crop_h}" img end end end view <%= image_tag @photo.photo_url(:big), id: "cropbox" %> m...