ruby on rails chapter 3.