1
0
Fork 0
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:
Xavier Noria 2022-03-08 20:27:46 +01:00
parent b2ab8dd3a4
commit 9b76e93fea

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