class

ActiveRecord::NoDatabaseError::MultiparameterAssignmentErrors

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