sample app from M. Hartl's RoR tutorial