I am using imagemagick and rmagick for image manipulation....
I need to create a thumbnail.
img = Magick::Image.read(org_img_path)
when i used this piece of code in console its cropping correctly...when
i used inside model or lib or controller its not working.
but if i use crop_resized! it is working but i need to maintain aspect
ratio for that image.
If someone knows solutin for this problem kindly help me