diff options
author | Xavier Noria <fxn@hashref.com> | 2019-05-14 17:45:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-14 17:45:30 +0200 |
commit | ee6ead86b85346755413a58539a1e1f734b72bed (patch) | |
tree | 45745c82eef127a5f0de0ef55bbf5e17931346a7 | |
parent | 28c5853cb450bcd9e644f7367289264877aead7b (diff) | |
parent | 1b895ef4881ca14ee2fb09bbe43bff6de09694dd (diff) | |
download | rails-ee6ead86b85346755413a58539a1e1f734b72bed.tar.gz rails-ee6ead86b85346755413a58539a1e1f734b72bed.tar.bz2 rails-ee6ead86b85346755413a58539a1e1f734b72bed.zip |
Merge pull request #36200 from soartec-lab/update_guide_configuring_add_autoloader
Added guide for `config.autoloader` [skip ci]
-rw-r--r-- | guides/source/configuring.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 407695ef8a..00f43777a8 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -157,6 +157,12 @@ 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.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 `. + + ```ruby + config.autoloader = :classic + ``` + ### Configuring Assets * `config.assets.enabled` a flag that controls whether the asset |