Chapter 2 of Rails Tutorial by Michael Hartl