Module: Mongoid::Findable

Defined in:
lib/locomotive/mongoid/patches.rb

Instance Method Summary collapse

Instance Method Details

#indexed_max(field) ⇒ Object



154
155
156
# File 'lib/locomotive/mongoid/patches.rb', line 154

def indexed_max(field)
  with_default_scope.indexed_max(field)
end