Exercise in Hartl's Ruby on Rails Tutorial, Chapter 3