for rails tutorial chapter 2