module Ransack::Adapters::Mongoid::Attributes::OrderPredications
Public Instance Methods
asc()
click to toggle source
# File lib/ransack/adapters/mongoid/attributes/order_predications.rb, line 6 def asc { name => :asc } end
desc()
click to toggle source
# File lib/ransack/adapters/mongoid/attributes/order_predications.rb, line 10 def desc { name => :desc } end