Update config/environments/*.rb for Rails 6.1
The attached patch updates Rails environment files (development.rb, production.rb, and test.rb in config/environments directory) for Rails 6.1.
By updating the files, several useful new features in Rails 6.1 will be available (e.g. request_id in production.log, verbose_query_logs in development.log). Also, by looking at the commented out settings, the user can easily know what settings are available (e.g. config.force_ssl in config/environments/production.rb).
#3 Updated by Marius BALTEANU 5 months ago
- Assignee deleted (
config/environments/production.rbwhich are already defined in
config/application.rbwith the same value:
config.log_level = :infoalready defined in source:/trunk/config/application.rb#L77
config.i18n.fallbacks = truealready defined in source:/trunk/config/application.rb#L57
Also, even commented, I don't think that we should settings add which are not working in the current context, for example, enabling
config.assets.css_compressor = :sass it will break Redmine (at least in my local environment).