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:
parent
487a1061cc
commit
01c54e29bd
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue