MongoidError
This error is raised when attempting to eager load a many to many relation.
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
# File lib/mongoid/errors/eager_load.rb, line 18 def initialize(name) @name = name super(translate("eager_load", { :name => name })) end
Generated with the Darkfish Rdoc Generator 2.