We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2bc9e8c + 451053e commit 4f33e65Copy full SHA for 4f33e65
activerecord/CHANGELOG.md
@@ -1,3 +1,10 @@
1
+* Allow batching methods to use already loaded relation if available
2
+
3
+ Calling batch methods on already loaded relations will use the records previously loaded instead of retrieving
4
+ them from the database again.
5
6
+ *Adam Hess*
7
8
* Deprecate `read_attribute(:id)` returning the primary key if the primary key is not `:id`.
9
10
Starting in Rails 7.2, `read_attribute(:id)` will return the value of the id column, regardless of the model's
0 commit comments