diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-03-23 00:19:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-23 00:19:52 -0400 |
commit | eb85100426dd49c355bb712759859537c6de9ead (patch) | |
tree | 1a6b04b2768614e3d3d010639cdd82a168d15552 /activerecord/lib/active_record/associations | |
parent | c111d1b36d5736e3e4afa111de3e3b3c09283486 (diff) | |
parent | f8cebd892bb1fea4e4c9b63ee1ca84a585791238 (diff) | |
download | rails-eb85100426dd49c355bb712759859537c6de9ead.tar.gz rails-eb85100426dd49c355bb712759859537c6de9ead.tar.bz2 rails-eb85100426dd49c355bb712759859537c6de9ead.zip |
Merge pull request #28540 from kamipo/remove_collection_proxy_uniq
Remove `CollectionProxy#uniq`
Diffstat (limited to 'activerecord/lib/active_record/associations')
-rw-r--r-- | activerecord/lib/active_record/associations/collection_proxy.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/associations/collection_proxy.rb b/activerecord/lib/active_record/associations/collection_proxy.rb index 3c44296d8c..5d6676f0df 100644 --- a/activerecord/lib/active_record/associations/collection_proxy.rb +++ b/activerecord/lib/active_record/associations/collection_proxy.rb @@ -743,10 +743,6 @@ module ActiveRecord # # ] #-- - def uniq - load_target.uniq - end - def calculate(operation, column_name) null_scope? ? scope.calculate(operation, column_name) : super end |