Module: Mongoid::Criterion::Ordering

Included in:
Mongoid::Criteria
Defined in:
lib/mongoid_nested_set/remove_order_by.rb

Instance Method Summary collapse

Instance Method Details

#remove_order_byObject



4
5
6
7
# File 'lib/mongoid_nested_set/remove_order_by.rb', line 4

def remove_order_by
  @options[:sort] = nil
  self
end