class

ActiveRecord::NoDatabaseError::MultiparameterAssignmentErrors

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

Raised when there are multiple errors while doing a mass assignment through the {ActiveRecord::Base#attributes=}[rdoc-ref:AttributeAssignment#attributes=] method. The exception has an errors property that contains an array of AttributeAssignmentError objects, each corresponding to the error while assigning to an attribute.

Attributes

[R]errors

Files

  • activerecord/lib/active_record/errors.rb