aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-04-02 19:13:12 -0700
committerCarl Lerche <carllerche@mac.com>2010-04-02 19:13:12 -0700
commit406fa3d37e8a531bec5646a46a7d109f6ed8c345 (patch)
tree6489b6ada861b83644ccd34f088e3037b59d48c3 /lib
parenta46922e4a1089c9880c30b389e1e1d9dfbab02ae (diff)
downloadrails-406fa3d37e8a531bec5646a46a7d109f6ed8c345.tar.gz
rails-406fa3d37e8a531bec5646a46a7d109f6ed8c345.tar.bz2
rails-406fa3d37e8a531bec5646a46a7d109f6ed8c345.zip
Remove commented out code
Diffstat (limited to 'lib')
-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