Skip to content

Conversation

@Austio
Copy link

@Austio Austio commented Nov 25, 2025

Issue

See: rails/rails@7d12071

Closes #276 - I cherry picked from zzak here and added specs showing the change passes to reduce burden on maintainer here.

Description of changes

  • Adds 8.1 appraisal support
  • Patches runtime reader/writer to switch on stats being a method on ActiveRecord::RuntimeRegistry

Failing Spec with Adding Rails 8.1 support

Passing Spec with CherryPicking change from zzak

@jdelStrother
Copy link
Contributor

@Austio What do you make of grncdr's analysis here - #276 (comment) ?

IMO he's correct - this log subscriber shouldn't be messing with ActiveRecord's runtime stats. Just deleting the calls would break Rails 5/6 compatibility though, so it might need a version bump.

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.

3 participants