1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

edit tweaks to recent patch in configuring guide [ci skip]

This commit is contained in:
Xavier Noria 2019-05-14 17:49:34 +02:00
parent ee6ead86b8
commit a2708473b1

View file

@ -157,9 +157,10 @@ defaults to `:debug` for all environments. The available log levels are: `:debug
* `config.time_zone` sets the default time zone for the application and enables time zone awareness for Active Record. * `config.time_zone` sets the default time zone for the application and enables time zone awareness for Active Record.
* `config.autoloader` sets the autoloading modes. This option defaults to `:zeitwerk` if `6.0` is specified in `config.load_defaults`. Can use the classic autoloader by specifying `:classic` after the line that loads` load_defaults `. * `config.autoloader` sets the autoloading mode. This option defaults to `:zeitwerk` if `6.0` is specified in `config.load_defaults`. Applications can still use the classic autoloader by setting this value to `:classic` after loading the framework defaults:
```ruby ```ruby
config.load_defaults "6.0"
config.autoloader = :classic config.autoloader = :classic
``` ```