0
0
Fork 0

Update rails to version 8.0.1 (#32357)

This commit is contained in:
Matt Jankowski 2025-01-03 11:08:21 -05:00 committed by GitHub
parent f9582bcfc3
commit 535866218e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 71 additions and 64 deletions

View file

@ -13,7 +13,9 @@ module ActiveRecord
column_names.unshift(primary_key)
relation = relation.reorder(build_batch_orders(order).to_h).limit(batch_limit)
cursor = Array(primary_key)
relation = relation.reorder(build_batch_orders(cursor, order).to_h).limit(batch_limit)
relation.skip_query_cache!
batch_relation = relation