Sha256: cb7af84dab6a468b3fdc2c19a9a095cacee5c80f7c10ef8dc085846609438152

Contents?: true

Size: 208 Bytes

Versions: 16

Compression:

Stored size: 208 Bytes

Contents

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

  class Criteria
    include Criterion::Ordering
  end
end

Version data entries

16 entries across 15 versions & 3 rubygems

Version Path
glebtv-mongoid_nested_set-0.8.0 lib/mongoid_nested_set/remove_order_by.rb
glebtv-mongoid_nested_set-0.7.0 lib/mongoid_nested_set/remove_order_by.rb
glebtv-mongoid_nested_set-0.6.0 lib/mongoid_nested_set/remove_order_by.rb
glebtv-mongoid_nested_set-0.5.3 lib/mongoid_nested_set/remove_order_by.rb
glebtv-mongoid_nested_set-0.5.2 lib/mongoid_nested_set/remove_order_by.rb
glebtv-mongoid_nested_set-0.5.1 lib/mongoid_nested_set/remove_order_by.rb
glebtv-mongoid_nested_set-0.5.0 lib/mongoid_nested_set/remove_order_by.rb
glebtv-mongoid_nested_set-0.4.3 lib/mongoid_nested_set/remove_order_by.rb
glebtv-mongoid_nested_set-0.4.2 lib/mongoid_nested_set/remove_order_by.rb
glebtv-mongoid_nested_set-0.4.1 lib/mongoid_nested_set/remove_order_by.rb
glebtv-mongoid_nested_set-0.4.0 lib/mongoid_nested_set/remove_order_by.rb
glebtv-mongoid_nested_set-0.3.0 lib/mongoid_nested_set/remove_order_by.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/bundler/gems/mongoid_nested_set-d482b2642889/lib/mongoid_nested_set/remove_order_by.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/mongoid_nested_set-0.2.1/lib/mongoid_nested_set/remove_order_by.rb
mongoid_nested_set-0.2.1 lib/mongoid_nested_set/remove_order_by.rb
mongoid_nested_set-0.2.0 lib/mongoid_nested_set/remove_order_by.rb