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.

Methods
Attributes
[R] attribute
[R] exception
Public Class methods
new(message, exception, attribute)
     # File activerecord/lib/active_record/base.rb, line 135
135:     def initialize(message, exception, attribute)
136:       @exception = exception
137:       @attribute = attribute
138:       @message = message
139:     end