Modify application.rb to include possible fix for Heroku problem.