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

Use ActiveRecord::ConnectionAdapters::ConnectionPool#lease_connection with Rails 7.2 #573

Closed
wants to merge 1 commit into from

Conversation

eiskrenkov
Copy link
Contributor

Fix deprecation warning for Rails 7.2 coming from here

DEPRECATION WARNING: ActiveRecord::ConnectionAdapters::ConnectionPool#connection is deprecated
and will be removed in Rails 8.0. Use #lease_connection instead.

@eiskrenkov
Copy link
Contributor Author

Hey @byroot @dylanahsmith sorry for disturbing, but here's a simple fix which saves us from a lot of noise in Rails 7.2, would you mind taking a look please?

CI seems to be broken though. I'm not sure why we need a separate step to install bundler and gems, afaik ruby/setup-ruby@v1 does it automatically

@casperisfine
Copy link
Contributor

Fixed in #575

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