From 2008fe606b6096e4b8ad9c03e03b0d11b94605cd Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Fri, 15 Feb 2013 22:01:11 +0530 Subject: copy edits [ci skip] --- activerecord/lib/active_record/relation/calculations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib/active_record') 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 -- cgit v1.2.3