chapter 2 of rails tutorial.