second exercise from Michael Hartl's book - Ruby On Rails Tutorial