modify application.rb for heroku 2