Chapters 3-11 of the Ruby on Rails Tutorial