Sha256: dbe4bd0d3d771f41b328766f9e7e6451b7d80a4138c6b55cf0291aba55f2d14b

Contents?: true

Size: 152 Bytes

Versions: 4

Compression:

Stored size: 152 Bytes

Contents

module Mongoid
  module Criterion
    module Optional
      def remove_order_by
        @options[:sort] = nil
        self
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mongoid_nested_set-0.1.3 lib/mongoid_nested_set/remove_order_by.rb
mongoid_nested_set-0.1.2 lib/mongoid_nested_set/remove_order_by.rb
mongoid_nested_set-0.1.1 lib/mongoid_nested_set/remove_order_by.rb
mongoid_nested_set-0.1.0 lib/mongoid_nested_set/remove_order_by.rb