mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Improve language in upgrading guide
This commit is contained in:
parent
c5bf2b4736
commit
88dff0604f
1 changed files with 1 additions and 1 deletions
|
@ -753,7 +753,7 @@ end
|
|||
|
||||
while `Bar` could not be autoloaded, autoloading `Foo` would mark `Bar` as autoloaded too. This is not the case in `zeitwerk` mode, you need to move `Bar` to its own file `bar.rb`. One file, one constant.
|
||||
|
||||
This affects only to constants at the same top-level as in the example above. Inner classes and modules are fine. For example, consider
|
||||
This only applies to constants at the same top-level as in the example above. Inner classes and modules are fine. For example, consider
|
||||
|
||||
```ruby
|
||||
# app/models/foo.rb
|
||||
|
|
Loading…
Reference in a new issue