Module: Mongoid::Finders

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

Instance Method Summary collapse

Instance Method Details

#indexed_max(field) ⇒ Object



69
70
71
# File 'lib/locomotive/mongoid/patches.rb', line 69

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