aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/arel/algebra/relations/relation.rb6
1 files changed, 0 insertions, 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 ||= {}