From 68d35960f336d5be3c5e35c88e6c8bdebcbcf500 Mon Sep 17 00:00:00 2001 From: "Yamaguchi.Tomoki" Date: Fri, 15 Jul 2016 19:43:58 +0900 Subject: [ci skip] fix a typo --- activerecord/lib/active_record/associations/collection_proxy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib/active_record/associations/collection_proxy.rb') diff --git a/activerecord/lib/active_record/associations/collection_proxy.rb b/activerecord/lib/active_record/associations/collection_proxy.rb index 5d1e7ffb73..17ccf5a86c 100644 --- a/activerecord/lib/active_record/associations/collection_proxy.rb +++ b/activerecord/lib/active_record/associations/collection_proxy.rb @@ -793,7 +793,7 @@ module ActiveRecord # Returns +true+ if the collection is empty. If the collection has been # loaded it is equivalent # to collection.size.zero?. If the collection has not been loaded, - # it is equivalent to collection.exists?. If the collection has + # it is equivalent to !collection.exists?. If the collection has # not already been loaded and you are going to fetch the records anyway it # is better to check collection.length.zero?. # -- cgit v1.2.3