Change application configurations for Rails 4