Raised when an error occured 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
[ show source ]
# File lib/active_record/base.rb, line 105
105: def initialize(message, exception, attribute)
106: @exception = exception
107: @attribute = attribute
108: @message = message
109: end