class Mongoid::MultiParameterAttributes::Errors::AttributeAssignmentError
Raised when an error occurred while doing a mass assignment to an attribute through the attributes=
method. The exception has an attribute
property that is the name of the offending attribute.
Attributes
attribute[R]
exception[R]
Public Class Methods
new(message, exception, attribute)
click to toggle source
# File lib/mongoid_multiparams.rb, line 47 def initialize(message, exception, attribute) @exception = exception @attribute = attribute @message = message end