class

ActiveRecord::NoDatabaseError::AttributeAssignmentError

v7.0.0 - Show latest stable - Superclass: ActiveRecord::ActiveRecordError

Raised when an error occurred while doing a mass assignment to an attribute through the {ActiveRecord::Base#attributes=}[rdoc-ref:AttributeAssignment#attributes=] method. The exception has an attribute property that is the name of the offending attribute.

Attributes

[R]attribute
[R]exception

Files

  • activerecord/lib/active_record/errors.rb