aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorsoartec-lab <info@soartec-lab.work>2019-05-07 22:25:13 +0900
committersoartec-lab <info@soartec-lab.work>2019-05-07 22:25:13 +0900
commit1b895ef4881ca14ee2fb09bbe43bff6de09694dd (patch)
treeb66e6f3a978afe03769058ae7205e355b9137c35 /guides
parentcecbc2340abec0ba96db9394f397f1e5a67c449d (diff)
downloadrails-1b895ef4881ca14ee2fb09bbe43bff6de09694dd.tar.gz
rails-1b895ef4881ca14ee2fb09bbe43bff6de09694dd.tar.bz2
rails-1b895ef4881ca14ee2fb09bbe43bff6de09694dd.zip
Added guide for `config.autoloader` [skip ci]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 3863323bd2..2ee65bb573 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