diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-01-12 18:08:25 -0800 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-01-12 18:08:25 -0800 |
commit | c1e223f8a9e7394ede2fcd5621f7d43721023a20 (patch) | |
tree | 57f82f89cb0ebcedd81e73964a2f39a5e08818af /lib/active_relation/relations/order.rb | |
parent | cebfc0c1d830799c8b26834760fe40b44efb2d08 (diff) | |
download | rails-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.rb | 2 |
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 |