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.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/active_relation/relations/order.rb b/lib/active_relation/relations/order.rb
index d71ff09c41..b5495fad67 100644
--- a/lib/active_relation/relations/order.rb
+++ b/lib/active_relation/relations/order.rb
@@ -13,10 +13,6 @@ module ActiveRelation
relation == other.relation and
ordering == other.ordering
end
-
- def descend(&block)
- Order.new(relation.descend(&block), yield(ordering))
- end
def orders
relation.orders + [ordering]