From 406fa3d37e8a531bec5646a46a7d109f6ed8c345 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Fri, 2 Apr 2010 19:13:12 -0700 Subject: Remove commented out code --- lib/arel/algebra/header.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3