sample app based on Ruby on Rails Tutorial