diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-06 14:36:16 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-06 14:36:16 -0700 |
commit | 06cc73cc9efbe2cacdbf8c6765ad6dab5a6e1aa0 (patch) | |
tree | 15ba73dd0e03800b80e2bc218a33602fae6681e2 /lib/arel/algebra | |
parent | 677d77d43d0a09ab2ffca1cd45f5b1b090475ec4 (diff) | |
download | rails-06cc73cc9efbe2cacdbf8c6765ad6dab5a6e1aa0.tar.gz rails-06cc73cc9efbe2cacdbf8c6765ad6dab5a6e1aa0.tar.bz2 rails-06cc73cc9efbe2cacdbf8c6765ad6dab5a6e1aa0.zip |
removing method that is never used
Diffstat (limited to 'lib/arel/algebra')
-rw-r--r-- | lib/arel/algebra/relations/relation.rb | 6 |
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 ||= {} |