Class

ActiveRecord::AttributeAssignmentError

Inheritance
< ActiveRecord::ActiveRecordError < StandardError

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

Name Visibility R/W Description
attribute public R
exception public R

Methods

Class

Visibility Signature
public new (message, exception, attribute)

Class Method Detail

new(message, exception, attribute)