Exercise #1 for Michael Hartl's Ruby on Rails tutorial