rails tutorial sample app - chapter 3