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

Revert "✂️"

This reverts commit 487a1061cc.

This `#--` is necessary for the doc of `distinct`.

[ci skip]
This commit is contained in:
Ryuta Kamizono 2018-02-07 14:49:24 +09:00
parent 487a1061cc
commit 01c54e29bd

View file

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