Exercise from Hartl's Rails Tutorial.