Ruby on Rails tutorial by Michael Hartl. Sample app.