After a bit of investigation I decided to use Carrierwave and mini_magick on my new rail3 app.
I\'ve set it up and it works perfectly. However I have a one question. I\
class Attachment mount_uploader :file, FileUploader def image @image ||= MiniMagick::Image.open(file.path) end end
And use it like this:
Attachment.first.image['width'] # => 400 Attachment.first.image['height'] # => 300