Skip to content

Commit a0e14a8

Browse files
authored
Merge pull request rails#43668 from brandoncc/patch-2
Improve language in upgrading guide
2 parents c5bf2b4 + 88dff06 commit a0e14a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/upgrading_ruby_on_rails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ end
753753

754754
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.
755755

756-
This affects only to constants at the same top-level as in the example above. Inner classes and modules are fine. For example, consider
756+
This only applies to constants at the same top-level as in the example above. Inner classes and modules are fine. For example, consider
757757

758758
```ruby
759759
# app/models/foo.rb

0 commit comments

Comments
 (0)