class ActiveRecord::AttributeAssignmentError

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

def initialize(message, exception, attribute)

def initialize(message, exception, attribute)
  super(message)
  @exception = exception
  @attribute = attribute
end