Image upload

Hi i am newbie to RoR, i like to know how to upload a image in rails?
some one help me plz.

try paperclip
http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/
http://github.com/thoughtbot/paperclip

I’m a big fan of dragonfly. One of the main differences between paperclip and dragonfly is that paperclip generates all the sizes of image you need when you upload the file, where dragonfly generates (and caches) the files you on the fly. There are pros and cons to each, but both are good.

Tutorial:

http://blog.new-bamboo.co.uk/2010/1/2/dragonfly

Dragonfly:

http://github.com/markevans/dragonfly

Luke