Tags in Social Tags

Photoupload in a Ruby on Rails application

A lot of Ruby on Rails web applications have to use photos (e.g. for user profiles)
In the best case these photos can be already stored in several sizes or otherwise processed before being stored to different possible location.
Also these photos have to be attache to a ruby on rails model like an user or an article.