mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Modernizes wording in the autoloading guide
This commit is contained in:
parent
b2ab8dd3a4
commit
9b76e93fea
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue