Sha256: 6ed517bca5735336d44713817ad698ae1020af530ff336aab742a9c25d2a8648

Contents?: true

Size: 274 Bytes

Versions: 22

Compression:

Stored size: 274 Bytes

Contents

module Ransack
  module Adapters
    module Mongoid
      module Attributes
        module OrderPredications
          def asc
            { name => :asc }
          end

          def desc
            { name => :desc }
          end
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
ransack-1.8.10 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.8.9 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.8.8 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.8.7 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.8.6 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.8.4 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.8.3 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.8.2 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.8.1 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.8.0 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.7.0 lib/ransack/adapters/mongoid/attributes/order_predications.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/ransack-1.6.6/lib/ransack/adapters/mongoid/attributes/order_predications.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/ransack-1.6.6/lib/ransack/adapters/mongoid/attributes/order_predications.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/ransack-1.6.6/lib/ransack/adapters/mongoid/attributes/order_predications.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/ransack-1.6.2/lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.6.6 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.6.5 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.6.4 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.6.3 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.6.2 lib/ransack/adapters/mongoid/attributes/order_predications.rb