Update application.rb with correct configuration.