sample app from RoR tutorial