Updated the application.rb file to make it work with Heroku