updated application.rb file to fix heroku error