Skip to content
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

Fix compatibility with Rails 7 by conditionally using lease_connection #132

Merged
merged 2 commits into from
Dec 15, 2024

Conversation

mapreal19
Copy link
Contributor

@mapreal19 mapreal19 commented Dec 14, 2024

I've got this error in a Rails 7 app:

undefined method 'lease_connection' for an instance of ActiveRecord::ConnectionAdapters::ConnectionPool

@mapreal19 mapreal19 marked this pull request as ready for review December 14, 2024 14:10
@mapreal19 mapreal19 requested a review from lbeder December 14, 2024 16:27
@lbeder lbeder merged commit 9578e78 into lbeder:master Dec 15, 2024
3 checks passed
@mapreal19 mapreal19 deleted the patch-1 branch December 15, 2024 14:40
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.

2 participants