chapter 2 of rails