-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the API for ActiveSupport::Dependencies#autoloadable_module?
ActiveSupport::Dependencies#autoloadable_module? returns the load path that contains the argument or nil in case no load path contains that argument. [[1][1]] In the bootsnap monkey patch we were changing that return to be true or false that breaks the API expectation in Rails. Fixes #197. [1]: https://github.com/rails/rails/blob/12b32d804996c6bb3d215a22762c0c1a27f223d3/activesupport/lib/active_support/dependencies.rb#L434-L442
- Loading branch information
1 parent
0b450c5
commit f677ed2
Showing
3 changed files
with
11 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
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