Ruby on Rails class sample stuff