Parent

Methods

Class/Module Index [+]

Quicksearch

Mongoid::Errors::InvalidFind

Raised when invalid arguments are passed to #find.

Public Class Methods

new() click to toggle source

Create the new invalid find error.

@example Create the error.

InvalidFind.new

@since 2.2.0

# File lib/mongoid/errors/invalid_find.rb, line 13
def initialize
  super(translate("calling_document_find_with_nil_is_invalid", {}))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.