-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Rails 7.0 deprecated the `direct_descendants` method in favor of `subclasses` - Ruby 3.1 added native `subclasses` support to `Class` Ref #179 Ref: - Alias direct_descendants as subclasses: rails/rails@8f8aa85 rails/rails#39505 - Filter reloaded classes in Class#subclasses and Class#descendants core exts: rails/rails@1aa2463 rails/rails#46144
- Loading branch information
Showing
2 changed files
with
63 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters