Chapter 2 of the rails tutorial