Exception: Mongoid::TypeMismatchError
- Defined in:
- lib/mongoid.rb
Overview
Raised when an association is defined on the class, but the attribute in the hash is not an Array or Hash, or when checking equality on objects of different types.
Raised when an association is defined on the class, but the attribute in the hash is not an Array or Hash, or when checking equality on objects of different types.