sample app on RoR tutorial