removed changes form bates railscast