aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2013-02-15 22:01:11 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2013-02-15 22:01:11 +0530
commit2008fe606b6096e4b8ad9c03e03b0d11b94605cd (patch)
tree74d474bdef1ae699e1549d2a9d303a7bbd44aa07 /activerecord/lib/active_record
parent3a388da87dd5294f2a2718017a3d6ecc70cfdb17 (diff)
downloadrails-2008fe606b6096e4b8ad9c03e03b0d11b94605cd.tar.gz
rails-2008fe606b6096e4b8ad9c03e03b0d11b94605cd.tar.bz2
rails-2008fe606b6096e4b8ad9c03e03b0d11b94605cd.zip
copy edits [ci skip]
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/relation/calculations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/calculations.rb b/activerecord/lib/active_record/relation/calculations.rb
index 3fc079d84c..7f95181c67 100644
--- a/activerecord/lib/active_record/relation/calculations.rb
+++ b/activerecord/lib/active_record/relation/calculations.rb
@@ -14,7 +14,7 @@ module ActiveRecord
# Person.count(:age, distinct: true)
# # => counts the number of different age values
#
- # If used on a +group+, it returns a Hash whose keys represent the aggregated column,
+ # If +count+ is used with +group+, it returns a Hash whose keys represent the aggregated column,
# and the values are the respective amounts:
#
# Person.group(:city).count