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.6.1 lib/ransack/adapters/mongoid/attributes/order_predications.rb
ransack-1.6.0 lib/ransack/adapters/mongoid/attributes/order_predications.rb