diff options
Diffstat (limited to 'activerecord/lib/active_record/relation/calculations.rb')
-rw-r--r-- | activerecord/lib/active_record/relation/calculations.rb | 2 |
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 |