Ruby on Rails Tutorial Chapter 2, by Michael Hartl. http://www.railstutorial.org/