Patch #35081

Update config/environments/*.rb for Rails 6.1

Added by Go MAEDA 8 months ago. Updated 5 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Rails support
Target version:-

Description

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).

0001-RuboCop-Disable-Style-GlobalStdStream-and-Rails-File.patch Magnifier (949 Bytes) Go MAEDA, 2021-04-13 04:20

0002-Update-config-environments-.rb-for-Rails-6.1.patch Magnifier (12.5 KB) Go MAEDA, 2021-04-13 04:21


Related issues

Related to Redmine - Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloading Closed

History

#1 Updated by Go MAEDA 8 months ago

  • Related to Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloading added

#2 Updated by Marius BALTEANU 8 months ago

  • Assignee set to Marius BALTEANU

#3 Updated by Marius BALTEANU 5 months ago

  • Assignee deleted (Marius BALTEANU)
The patch adds two settings in config/environments/production.rb which are already defined in config/application.rb with the same value:

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).

Also available in: Atom PDF