aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/collection_proxy.rb
diff options
context:
space:
mode:
authorYamaguchi.Tomoki <yamaguchi.tomoki@moneyforward.co.jp>2016-07-15 19:43:58 +0900
committerYamaguchi.Tomoki <yamaguchi.tomoki@moneyforward.co.jp>2016-07-15 19:43:58 +0900
commit68d35960f336d5be3c5e35c88e6c8bdebcbcf500 (patch)
treed287bc21e1df73528bc90ac50c171d37e6f00580 /activerecord/lib/active_record/associations/collection_proxy.rb
parent62514c5db76f77afc617cd02981a68abbcf58e87 (diff)
downloadrails-68d35960f336d5be3c5e35c88e6c8bdebcbcf500.tar.gz
rails-68d35960f336d5be3c5e35c88e6c8bdebcbcf500.tar.bz2
rails-68d35960f336d5be3c5e35c88e6c8bdebcbcf500.zip
[ci skip] fix a typo
Diffstat (limited to 'activerecord/lib/active_record/associations/collection_proxy.rb')
-rw-r--r--activerecord/lib/active_record/associations/collection_proxy.rb2
1 files changed, 1 insertions, 1 deletions
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 <tt>collection.size.zero?</tt>. If the collection has not been loaded,
- # it is equivalent to <tt>collection.exists?</tt>. If the collection has
+ # it is equivalent to <tt>!collection.exists?</tt>. If the collection has
# not already been loaded and you are going to fetch the records anyway it
# is better to check <tt>collection.length.zero?</tt>.
#