Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@julik
Copy link
Contributor

@julik julik commented Mar 13, 2025

There is zero issue with supporting 2.7 and older Rails, we just need to carefully figure out how to handle AR connections in tests and how to dissociate our calls from ActiveRecord well. Nothing that Pecorino does (aside from migration format) is ActiveRecord specific, but we still want to integrate well with ActiveRecord.

And it is reasonable for Pecorino to have the minimum requirement tested by default.

@julik julik force-pushed the figuirng-out-ruby-versions branch from a537c4f to cff316c Compare March 13, 2025 13:58
julik added a commit that referenced this pull request Apr 1, 2025
Closes #19 and moves us closer to the direction set in #25 - although not completely, ActiveRecord connection management is still not playing ball
@julik julik force-pushed the figuirng-out-ruby-versions branch from cff316c to c659df3 Compare April 1, 2025 20:11
ActiveRecord connection management can be tricky, and we don't need it as such - we need to _integrate_ with it well.

Also, all of our queries are .uncached. We do still want the queries to go through ActiveRecord adapters, because there is useful instrumentation in their `execute` which some folks are using

Relocate sanitization into the shim as well, for future work
@julik julik force-pushed the figuirng-out-ruby-versions branch from c659df3 to 3650da1 Compare April 1, 2025 20:15
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