diff options
Diffstat (limited to 'lib/active_relation/relations/order.rb')
-rw-r--r-- | lib/active_relation/relations/order.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/active_relation/relations/order.rb b/lib/active_relation/relations/order.rb index 688207f7a9..a23da967fd 100644 --- a/lib/active_relation/relations/order.rb +++ b/lib/active_relation/relations/order.rb @@ -7,7 +7,8 @@ module ActiveRelation end def ==(other) - relation == other.relation and orders == other.orders + relation == other.relation and + orders == other.orders end def qualify |