mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
✂️
This commit is contained in:
parent
7a1fa2c584
commit
487a1061cc
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue