Added Heroku Rails 4.0 code