diff --git a/guides/source/autoloading_and_reloading_constants.md b/guides/source/autoloading_and_reloading_constants.md index ad780900d1b3228190cc18f22ecf33f309ee1faf..a3557df9b32c65558614b255b8aa0c53aa92b705 100644 --- a/guides/source/autoloading_and_reloading_constants.md +++ b/guides/source/autoloading_and_reloading_constants.md @@ -57,7 +57,7 @@ The autoloading `zeitwerk` mode is enabled by default in Rails 6 applications ru ```ruby # config/application.rb -config.load_defaults "6.x" # enables zeitwerk mode in CRuby +config.load_defaults "6.0" # enables zeitwerk mode in CRuby ``` In `zeitwerk` mode, Rails uses [Zeitwerk](https://github.com/fxn/zeitwerk) internally to autoload, reload, and eager load. Rails instantiates and configures a dedicated Zeitwerk instance that manages the project.