diff options
author | schneems <richard.schneeman+foo@gmail.com> | 2018-02-06 22:28:05 -0600 |
---|---|---|
committer | schneems <richard.schneeman+foo@gmail.com> | 2018-02-06 22:28:05 -0600 |
commit | 487a1061cc496455dfe5ee84d1e49d509c1675b5 (patch) | |
tree | 2269328d4d3521225de16fe18031b252a6c88cde /activerecord/lib/active_record/associations | |
parent | 7a1fa2c58496d0d078615fa24a378b648df943a1 (diff) | |
download | rails-487a1061cc496455dfe5ee84d1e49d509c1675b5.tar.gz rails-487a1061cc496455dfe5ee84d1e49d509c1675b5.tar.bz2 rails-487a1061cc496455dfe5ee84d1e49d509c1675b5.zip |
✂️
Diffstat (limited to 'activerecord/lib/active_record/associations')
-rw-r--r-- | activerecord/lib/active_record/associations/collection_proxy.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/associations/collection_proxy.rb b/activerecord/lib/active_record/associations/collection_proxy.rb index 9a30198b95..cff30cb027 100644 --- a/activerecord/lib/active_record/associations/collection_proxy.rb +++ b/activerecord/lib/active_record/associations/collection_proxy.rb @@ -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 |