diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-06 09:17:58 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-06 09:17:58 -0700 |
commit | f9e2a2eb44477f2a966310cd2cb37bf744476fb1 (patch) | |
tree | fb0c37c4206f85b911ebdbb4403117c2412dad7f /lib/arel | |
parent | 0e9a9c7aa7791de708657c269dd7b9bb0f42b01c (diff) | |
download | rails-f9e2a2eb44477f2a966310cd2cb37bf744476fb1.tar.gz rails-f9e2a2eb44477f2a966310cd2cb37bf744476fb1.tar.bz2 rails-f9e2a2eb44477f2a966310cd2cb37bf744476fb1.zip |
removing unused code
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/algebra/ordering.rb | 4 |
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 |