sample app in Ruby on Rails