Ruby on Rails: sample application