aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-12-01 22:59:10 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-12-01 22:59:10 +0530
commit9685019c4a15eb0222984748e7413dc5920195f4 (patch)
treed98ee45b4a26a953c347f66af5ede0908cb1c84a /activerecord/lib/active_record/associations
parentdaab9bba887ec0682620087c39a0b4c097fc6efc (diff)
downloadrails-9685019c4a15eb0222984748e7413dc5920195f4.tar.gz
rails-9685019c4a15eb0222984748e7413dc5920195f4.tar.bz2
rails-9685019c4a15eb0222984748e7413dc5920195f4.zip
copy edits [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/associations')
-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 a9a4eb8728..07a5d07256 100644
--- a/activerecord/lib/active_record/associations/collection_proxy.rb
+++ b/activerecord/lib/active_record/associations/collection_proxy.rb
@@ -672,7 +672,7 @@ module ActiveRecord
end
# Returns the size of the collection. If the collection hasn't been loaded,
- # it executes a <tt>SELECT COUNT(*)</tt> query. If it has, calls <tt>collection.size</tt>.
+ # it executes a <tt>SELECT COUNT(*)</tt> query. Else it calls <tt>collection.size</tt>.
#
# If the collection has been already loaded +size+ and +length+ are
# equivalent. If not and you are going to need the records anyway