aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/arel/algebra/header.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/arel/algebra/header.rb b/lib/arel/algebra/header.rb
index ec45488dbf..3b74d31684 100644
--- a/lib/arel/algebra/header.rb
+++ b/lib/arel/algebra/header.rb
@@ -51,10 +51,6 @@ module Arel
end
def matching(attribute)
- # (@matching_attributes ||= attributes.inject({}) do |hash, a|
- # (hash[a.is_a?(Value) ? a.value : a.root] ||= []) << a
- # hash
- # end)[attribute.root] || []
select { |a| !a.is_a?(Value) && a.root == attribute.root }
end