From 3fc7133b2466fbd71d762e085f1ebe8a60718ab4 Mon Sep 17 00:00:00 2001
From: kenta-s <knt01222@gmail.com>
Date: Mon, 2 Jan 2017 11:11:13 +0900
Subject: Fix grammar in active_record/counter_cache.rb [ci skip]

---
 activerecord/lib/active_record/counter_cache.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'activerecord/lib')

diff --git a/activerecord/lib/active_record/counter_cache.rb b/activerecord/lib/active_record/counter_cache.rb
index a0ef430683..88ac10bffd 100644
--- a/activerecord/lib/active_record/counter_cache.rb
+++ b/activerecord/lib/active_record/counter_cache.rb
@@ -18,11 +18,11 @@ module ActiveRecord
       #
       # ==== Examples
       #
-      #   # For Post with id #1 records reset the comments_count
+      #   # For the Post with id #1, reset the comments_count
       #   Post.reset_counters(1, :comments)
       #
-      #   # For Post with id #1 records reset the comments_count
-      #   # and updates the +updated_at+ and/or +updated_on+ attributes.
+      #   # For the Post with id #1, reset the comments_count
+      #   # and update the +updated_at+ and/or +updated_on+ attributes.
       #   Post.reset_counters(1, :comments, touch: true)
       def reset_counters(id, *counters, touch: nil)
         object = find(id)
-- 
cgit v1.2.3