class MultiparameterAttributesHandler::AttributeAssignmentError

Raised when an error occurred while doing a mass assignment to an attribute through the attributes= method. The exception has an attribute_name property that is the name of the offending attribute.

Attributes

attribute_name[R]
exception_raised[R]

Public Class Methods

new(exception_raised, attribute_name) click to toggle source
# File lib/multiparameter_attributes_handler/multiparameter_attributes_handler_error.rb, line 13
def initialize(exception_raised, attribute_name)
  @exception_raised = exception_raised
  @attribute_name = attribute_name
end