1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

return is not needed here

This commit is contained in:
Neeraj Singh 2010-09-09 13:13:04 -04:00 committed by Aaron Patterson
parent 2f66b9a76c
commit 632120deb4

View file

@ -177,9 +177,9 @@ module ActiveRecord
distinct = options[:distinct] || distinct distinct = options[:distinct] || distinct
if @group_values.any? if @group_values.any?
return execute_grouped_calculation(operation, column_name) execute_grouped_calculation(operation, column_name)
else else
return execute_simple_calculation(operation, column_name, distinct) execute_simple_calculation(operation, column_name, distinct)
end end
end end