image upload example?

I need a simple image upload template for uploading a jpeg to the server…

Thanks, but there is no controller?

Use a plugin:

http://svn.techno-weenie.net/projects/plugins/attachment_fu/

HTH,
Nicholas

How about this:

http://manuals.rubyonrails.com/read/chapter/56