aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-08-04 17:18:37 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-08-04 17:18:37 -0700
commit4fcd1622ba6f9a2a44301bffcb7f5aee0d5db605 (patch)
treeacce9e30e3da62cb06d89a0a272af0fd71e96028 /lib/arel
parent4781d510da928862b2dd3eac3f9363eda321e60c (diff)
downloadrails-4fcd1622ba6f9a2a44301bffcb7f5aee0d5db605.tar.gz
rails-4fcd1622ba6f9a2a44301bffcb7f5aee0d5db605.tar.bz2
rails-4fcd1622ba6f9a2a44301bffcb7f5aee0d5db605.zip
separating test code from implementation code
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/algebra/relations/operations/order.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/arel/algebra/relations/operations/order.rb b/lib/arel/algebra/relations/operations/order.rb
index d91e400419..e7306fe384 100644
--- a/lib/arel/algebra/relations/operations/order.rb
+++ b/lib/arel/algebra/relations/operations/order.rb
@@ -7,13 +7,6 @@ module Arel
@orderings = orderings.collect { |o| o.bind(relation) }
end
- def == other
- super ||
- Order === other &&
- relation == other.relation &&
- orderings == other.orderings
- end
-
# TESTME
def orders
# QUESTION - do we still need relation.orders ?