aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_relation/relations/order.rb
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-01-12 18:08:25 -0800
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-01-12 18:08:25 -0800
commitc1e223f8a9e7394ede2fcd5621f7d43721023a20 (patch)
tree57f82f89cb0ebcedd81e73964a2f39a5e08818af /lib/active_relation/relations/order.rb
parentcebfc0c1d830799c8b26834760fe40b44efb2d08 (diff)
downloadrails-c1e223f8a9e7394ede2fcd5621f7d43721023a20.tar.gz
rails-c1e223f8a9e7394ede2fcd5621f7d43721023a20.tar.bz2
rails-c1e223f8a9e7394ede2fcd5621f7d43721023a20.zip
removed operator overloading of the predications (==, etc.)
Diffstat (limited to 'lib/active_relation/relations/order.rb')
-rw-r--r--lib/active_relation/relations/order.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_relation/relations/order.rb b/lib/active_relation/relations/order.rb
index 99ff939528..c8034d2f17 100644
--- a/lib/active_relation/relations/order.rb
+++ b/lib/active_relation/relations/order.rb
@@ -8,7 +8,7 @@ module ActiveRelation
end
def ==(other)
- relation == other.relation and orders.eql?(other.orders)
+ relation == other.relation and orders == other.orders
end
def qualify