Fix typo in upgrading_ruby_on_rails.md [ci-skip]

This commit is contained in:
Shozo Hatta 2021-10-17 12:42:36 +09:00 committed by GitHub
parent 573bba3ba9
commit eb1a9ddd91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ The private API of `ActiveSupport::Dependencies` has been deleted. That includes
A few of highlights:
* If you used `ActiveSupport::Dependencies.constantize` or ``ActiveSupport::Dependencies.safe_constantize`, just change them to `String#constantize` or `String#safe_constantize`.
* If you used `ActiveSupport::Dependencies.constantize` or `ActiveSupport::Dependencies.safe_constantize`, just change them to `String#constantize` or `String#safe_constantize`.
```ruby
ActiveSupport::Dependencies.constantize("User") # NO LONGER POSSIBLE