Exception: Mongoid::Errors::EagerLoad
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::EagerLoad
- Defined in:
- lib/mongoid/errors/eager_load.rb
Overview
This error is raised when attempting to eager load a many to many relation.
Constant Summary
Constants inherited from MongoidError
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.
17 18 19 |
# File 'lib/mongoid/errors/eager_load.rb', line 17 def initialize(name) super(("eager_load", { name: name })) end |