Class Mongoid::Errors::EagerLoad
In: lib/mongoid/errors/eager_load.rb
Parent: MongoidError

This error is raised when attempting to eager load a many to many relation.

Methods

new  

Attributes

name  [R] 

Public Class methods

Create the new eager load error.

@example Create the new eager load error.

  EagerLoad.new(:preferences)

@param [ Symbol ] name The name of the relation.

@since 2.2.0

[Validate]