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

feat: use with_connection where possible #441

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

flood4life
Copy link
Contributor

rails/rails#51349 - this allows rails 7.2 applications to raise an error or emit a deprecation warning whenever ActiveRecord::Base.connection is used.

The PR makes sure that in Rails 7.1 and after we use the new, preferred method of obtaining a connection.

rails/rails#51349 - this allows rails 7.2 applications
to raise an error or emit a deprecation warning whenever
`ActiveRecord::Base.connection` is used.

this makes sure that in rails 7.1 and after we use the new, preferred method.
@brendon
Copy link
Owner

brendon commented Oct 13, 2024

This is good :D Thank you for the hard work. I've also applied it to the positioning gem.

@brendon brendon merged commit 608cca2 into brendon:master Oct 13, 2024
27 checks passed
@brendon
Copy link
Owner

brendon commented Oct 13, 2024

Released as 1.2.3

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