MongoidError
Raised when trying to get or set a value for a defined field, where the type of the object does not match the defined field type.
@example Create the error.
InvalidType.new(Array, "Not an Array")
Generated with the Darkfish Rdoc Generator 2.