modified application.rb to fix issue deploying to heroku