aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-01-18 12:40:30 +0530
committerVipul A M <vipulnsward@gmail.com>2016-01-18 12:40:30 +0530
commitda26934313a31ae530b7537aba8a7662152f4dfe (patch)
treeaec62874a73ff6f01236f7e327441154c8327195 /activerecord/CHANGELOG.md
parentd14db3700dc921ea5642403f81657776cc0a19fa (diff)
downloadrails-da26934313a31ae530b7537aba8a7662152f4dfe.tar.gz
rails-da26934313a31ae530b7537aba8a7662152f4dfe.tar.bz2
rails-da26934313a31ae530b7537aba8a7662152f4dfe.zip
Changed options for find_each and variants to have options start/finish instead of start_at/end_at based on comments
at https://github.com/rails/rails/pull/12257#issuecomment-74688344
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index e14a9a972c..3d251f95cc 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -634,7 +634,7 @@
* Add `ActiveRecord::Relation#in_batches` to work with records and relations
in batches.
- Available options are `of` (batch size), `load`, `begin_at`, and `end_at`.
+ Available options are `of` (batch size), `load`, `start`, and `finish`.
Examples:
@@ -1282,7 +1282,7 @@
*Yves Senn*
-* `find_in_batches` now accepts an `:end_at` parameter that complements the `:start`
+* `find_in_batches` now accepts an `:finish` parameter that complements the `:start`
parameter to specify where to stop batch processing.
*Vipul A M*