diff options
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 |