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:
parent
573bba3ba9
commit
eb1a9ddd91
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue