Exception: Mongoid::Errors::EagerLoad Deprecated
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::EagerLoad
- Defined in:
- build/mongoid-7.3/lib/mongoid/errors/eager_load.rb
Overview
Deprecated.
No longer used by Mongoid per MONGOID-4841.
This error is raised when attempting to eager load a many to many association.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(name) ⇒ EagerLoad
constructor
Create the new eager load error.
Methods inherited from MongoidError
Constructor Details
#initialize(name) ⇒ EagerLoad
Create the new eager load error.
21 22 23 |
# File 'build/mongoid-7.3/lib/mongoid/errors/eager_load.rb', line 21 def initialize(name) super(("eager_load", { name: name })) end |