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

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

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