Chapter 3 ruby on rails