Skip to content

Fix Rails 7.0 compatibility #651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 24, 2021
Merged

Conversation

casperisfine
Copy link

@casperisfine casperisfine commented Aug 24, 2021

Fix: #649

~/gems/spring-2.1.1/lib/spring/application.rb:103:in `block in preload':
undefined method `mechanism=' for ActiveSupport::Dependencies:Module (NoMethodError)

@fxn
Copy link
Member

fxn commented Aug 24, 2021

That is one possible way to do it too, since by now Spring seemed to be working just fine in both modes.

@fxn fxn merged commit 6cdfaf5 into rails:master Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spring uses AS::Dependencies.mechanism=
3 participants