revised to conform to the rails-tutorial gemfile