Skip to content

Release new version for rails 7.1+#8

Open
rudy-on-rails wants to merge 1 commit into
masterfrom
rwsj/compatibility-for-rails-7-1-plus
Open

Release new version for rails 7.1+#8
rudy-on-rails wants to merge 1 commit into
masterfrom
rwsj/compatibility-for-rails-7-1-plus

Conversation

@rudy-on-rails
Copy link
Copy Markdown
Contributor

@rudy-on-rails rudy-on-rails commented Apr 9, 2026

Note

Low Risk
Low risk: a small compatibility change limited to error-recovery logic for ActiveRecord connection pooling; main risk is behavioral differences in how connections are cleared under Rails 7.1.

Overview
Updates LostDbConnectionHandler.with_connection to clear active ActiveRecord connections via ActiveRecord::Base.connection_handler.clear_active_connections! instead of ActiveRecord::Base.clear_active_connections! when rescuing ActiveRecord::StatementInvalid, aligning the recovery path with Rails 7.1+ APIs.

Reviewed by Cursor Bugbot for commit 7c0f239. Bugbot is set up for automated code reviews on this repo. Configure here.

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