Methods

Files

Class Index [+]

Quicksearch

ActiveRecord::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

exception[R]
attribute[R]

Public Class Methods

new(message, exception, attribute) click to toggle source
     # File lib/active_record/errors.rb, line 156
156:     def initialize(message, exception, attribute)
157:       @exception = exception
158:       @attribute = attribute
159:       @message = message
160:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.