From f9e2a2eb44477f2a966310cd2cb37bf744476fb1 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 6 Aug 2010 09:17:58 -0700 Subject: removing unused code --- lib/arel/algebra/ordering.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/arel/algebra/ordering.rb') 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 -- cgit v1.2.3