Michael Hartl's Rails tutorial: Chapter 2