From 06cc73cc9efbe2cacdbf8c6765ad6dab5a6e1aa0 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 6 Aug 2010 14:36:16 -0700 Subject: removing method that is never used --- lib/arel/algebra/relations/relation.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/arel/algebra/relations/relation.rb b/lib/arel/algebra/relations/relation.rb index d51e24d088..4c739edb4d 100644 --- a/lib/arel/algebra/relations/relation.rb +++ b/lib/arel/algebra/relations/relation.rb @@ -177,12 +177,6 @@ module Arel attributes.detect { |a| a.named?(name) } || Attribute.new(self, name) end - def find_attribute_matching_attribute(attribute) - matching_attributes(attribute).max do |a1, a2| - (a1.original_attribute / attribute) <=> (a2.original_attribute / attribute) - end - end - def position_of(attribute) @position_of ||= {} -- cgit v1.2.3