Chapter two of Hartl's Ruby on Rails tutorial