Example for Ruby on Rails