Chapter 3, Ruby on rails tutorial