Module: Mongoid::Findable

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

Instance Method Summary collapse

Instance Method Details

#indexed_max(field) ⇒ Object



158
159
160
# File 'lib/locomotive/mongoid/patches.rb', line 158

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