diff options
author | Carl Lerche <carllerche@mac.com> | 2010-04-02 19:13:12 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-04-02 19:13:12 -0700 |
commit | 406fa3d37e8a531bec5646a46a7d109f6ed8c345 (patch) | |
tree | 6489b6ada861b83644ccd34f088e3037b59d48c3 /lib/arel | |
parent | a46922e4a1089c9880c30b389e1e1d9dfbab02ae (diff) | |
download | rails-406fa3d37e8a531bec5646a46a7d109f6ed8c345.tar.gz rails-406fa3d37e8a531bec5646a46a7d109f6ed8c345.tar.bz2 rails-406fa3d37e8a531bec5646a46a7d109f6ed8c345.zip |
Remove commented out code
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/algebra/header.rb | 4 |
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 |