aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_relation/relations/order.rb
diff options
context:
space:
mode:
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