sample app from RoR3 Tut page 96