Updated application.rb file for heroku