aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-08-06 09:17:58 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-08-06 09:17:58 -0700
commitf9e2a2eb44477f2a966310cd2cb37bf744476fb1 (patch)
treefb0c37c4206f85b911ebdbb4403117c2412dad7f /lib
parent0e9a9c7aa7791de708657c269dd7b9bb0f42b01c (diff)
downloadrails-f9e2a2eb44477f2a966310cd2cb37bf744476fb1.tar.gz
rails-f9e2a2eb44477f2a966310cd2cb37bf744476fb1.tar.bz2
rails-f9e2a2eb44477f2a966310cd2cb37bf744476fb1.zip
removing unused code
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/algebra/ordering.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/arel/algebra/ordering.rb b/lib/arel/algebra/ordering.rb
index 8ed3e1e6e6..c1a4ef8b70 100644
--- a/lib/arel/algebra/ordering.rb
+++ b/lib/arel/algebra/ordering.rb
@@ -10,10 +10,6 @@ module Arel
self
end
- def == other
- super || (self.class === other && attribute == other.attribute)
- end
-
def eval(row1, row2)
(attribute.eval(row1) <=> attribute.eval(row2)) * direction
end