From c76de7842908ad026ba170f3251ad18f219c85d3 Mon Sep 17 00:00:00 2001
From: "yuuji.yaginuma" <yuuji.yaginuma@gmail.com>
Date: Wed, 18 Feb 2015 01:42:57 +0900
Subject: correct method name in deprecation message

---
 activerecord/lib/active_record/relation/batches.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'activerecord')

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
-- 
cgit v1.2.3