class

ActiveRecord::NoDatabaseError::AttributeAssignmentError

rails latest stable - Superclass: ActiveRecord::ActiveRecordError

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

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