finished Chapter 10 of RailsTutorial.org