diff options
author | Marc-Andre Lafortune <github@marc-andre.ca> | 2013-12-05 12:20:03 -0500 |
---|---|---|
committer | Marc-Andre Lafortune <github@marc-andre.ca> | 2013-12-06 08:53:14 -0500 |
commit | 0aad463cfbe9853fd3a7ab0f8e4e0a34715fd62c (patch) | |
tree | 8bce8bc45b85355d01657e67d1152f6f41fbb971 /activerecord/CHANGELOG.md | |
parent | 5086c8c2113b67eb893cb34882e06c8b83e7951c (diff) | |
download | rails-0aad463cfbe9853fd3a7ab0f8e4e0a34715fd62c.tar.gz rails-0aad463cfbe9853fd3a7ab0f8e4e0a34715fd62c.tar.bz2 rails-0aad463cfbe9853fd3a7ab0f8e4e0a34715fd62c.zip |
`find_in_batches` now returns an `Enumerator` when called without a block, so that it
can be chained with other `Enumerable` methods.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index ed076c04bb..1386c5d740 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,8 @@ +* `find_in_batches` now returns an `Enumerator` when called without a block, so that it + can be chained with other `Enumerable` methods. + + *Marc-André Lafortune* + * Polymorphic belongs_to associations with the `touch: true` option set update the timestamps of the old and new owner correctly when moved between owners of different types. |