Ruby on Rails Tutorial - chapter 3