diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-09-09 13:13:04 -0400 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-09 10:34:20 -0700 |
commit | 632120deb4b31eda5863e3afe1a223f9237eec81 (patch) | |
tree | 66ae86da67215d2750dccd9a7744fe3b854e3439 /activerecord/lib/active_record | |
parent | 2f66b9a76c955fb5deb16f088986f13dadef6852 (diff) | |
download | rails-632120deb4b31eda5863e3afe1a223f9237eec81.tar.gz rails-632120deb4b31eda5863e3afe1a223f9237eec81.tar.bz2 rails-632120deb4b31eda5863e3afe1a223f9237eec81.zip |
return is not needed here
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/relation/calculations.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/relation/calculations.rb b/activerecord/lib/active_record/relation/calculations.rb index a09f694fb3..398ab75b69 100644 --- a/activerecord/lib/active_record/relation/calculations.rb +++ b/activerecord/lib/active_record/relation/calculations.rb @@ -177,9 +177,9 @@ module ActiveRecord distinct = options[:distinct] || distinct if @group_values.any? - return execute_grouped_calculation(operation, column_name) + execute_grouped_calculation(operation, column_name) else - return execute_simple_calculation(operation, column_name, distinct) + execute_simple_calculation(operation, column_name, distinct) end end |