Modernizes wording in the autoloading guide

This commit is contained in:
Xavier Noria 2022-03-08 20:27:46 +01:00
parent b2ab8dd3a4
commit 9b76e93fea
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ Eager loading is controlled by the flag [`config.eager_load`][], which is enable
The order in which files are eager-loaded is undefined.
If the `Zeitwerk` constant is defined, Rails invokes `Zeitwerk::Loader.eager_load_all` regardless of the application autoloading mode. That ensures dependencies managed by Zeitwerk are eager-loaded.
During eager loading, Rails invokes `Zeitwerk::Loader.eager_load_all`. That ensures all gem dependencies managed by Zeitwerk are eager-loaded too.
[`config.eager_load`]: configuring.html#config-eager-load