aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-02-18 01:42:57 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-02-18 01:42:57 +0900
commitc76de7842908ad026ba170f3251ad18f219c85d3 (patch)
treef1c0ffb216ecfad39b5f7d3ab2433914a7c521a7 /activerecord
parent5ff08055194963394c24742ae89f69e4e43567a4 (diff)
downloadrails-c76de7842908ad026ba170f3251ad18f219c85d3.tar.gz
rails-c76de7842908ad026ba170f3251ad18f219c85d3.tar.bz2
rails-c76de7842908ad026ba170f3251ad18f219c85d3.zip
correct method name in deprecation message
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/relation/batches.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/batches.rb b/activerecord/lib/active_record/relation/batches.rb
index 52b94db9b1..e07580a563 100644
--- a/activerecord/lib/active_record/relation/batches.rb
+++ b/activerecord/lib/active_record/relation/batches.rb
@@ -50,7 +50,7 @@ module ActiveRecord
if start
begin_at = start
ActiveSupport::Deprecation.warn(<<-MSG.squish)
- Passing `start` value to find_in_batches is deprecated, and will be removed in Rails 5.1.
+ Passing `start` value to find_each is deprecated, and will be removed in Rails 5.1.
Please pass `begin_at` instead.
MSG
end