RoR tutorial: sample application