Revert "Remove deprecated settings from application.rb"

This reverts commit e66862fdac8a3437b63c351e5b3f1c6af39fc955.