Ruby on rails application for managing pictures