Example for Ruby on Rails Class