1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

6.x -> 6.0 [skip ci]

This 6.x seems to be confusing to some people.
This commit is contained in:
Xavier Noria 2019-08-12 20:08:13 +02:00
parent e44a197997
commit aec2f3828c

View file

@ -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.