Ruby Plus #31: How to upload images in Rails 2.0
In this screencast I will show you how easy it is to upload images in Rails using the Attachement_Fu plugin.You must install an Image Processor. ImageScience, RMagick or minimagick. I installed RMagick using this script. Here is the RMagick Installation FAQ.
Note: The public_filename method gives us the public path to the full-size file or the thumbnail if you pass the name of the thumbnail suffix (:thumb, in our case).