sample app from rails tutorial book