Exception: Mongoid::Errors::InvalidStorageParent
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::InvalidStorageParent
- Defined in:
- build/mongoid-7.3/lib/mongoid/errors/invalid_storage_parent.rb
Overview
Raised when calling store_in in a sub-class of Mongoid::Document
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(klass) ⇒ InvalidStorageParent
constructor
Create the new error.
Methods inherited from MongoidError
Constructor Details
#initialize(klass) ⇒ InvalidStorageParent
Create the new error.
18 19 20 21 22 23 24 25 |
# File 'build/mongoid-7.3/lib/mongoid/errors/invalid_storage_parent.rb', line 18 def initialize(klass) super( ( "invalid_storage_parent", { klass: klass } ) ) end |