Skip to content

Conversation

@maximerety
Copy link
Contributor

@maximerety maximerety commented Nov 1, 2025

Starting from ActiveRecord 7.1, there's a built-in helper equivalent to what BatchOver does, the performance of which was improved further in ActiveRecord 8.1. Let's use it instead of maintaining a custom implementation.

We keep BatchOver for compatibility with ActiveRecord < 8.1.

This pull request supersedes #136, now that the additional optimization from rails/rails#51243 has landed with ActiveRecord 8.1 (see release notes).

Starting from ActiveRecord 7.1, there's a built-in helper equivalent
to what BatchOver does, the performance of which was improved further
in ActiveRecord 8.1. Let's use it instead of maintaining a custom
implementation.

We keep BatchOver for compatibility with ActiveRecord < 8.1.
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