Fixing application.rb for heroku