1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
This commit is contained in:
schneems 2018-02-06 22:28:05 -06:00
parent 7a1fa2c584
commit 487a1061cc

View file

@ -747,8 +747,7 @@ module ActiveRecord
# # #<Pet name: "Fancy-Fancy">,
# # #<Pet name: "Fancy-Fancy">
# # ]
#--
#
def calculate(operation, column_name)
null_scope? ? scope.calculate(operation, column_name) : super
end