Ruby on Rails class project