method

merge!

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveModel::Errors
merge!(other) public

Merges the errors from other, each Error wrapped as NestedError.

Parameters

Examples

person.errors.merge!(other)
Show source
Register or log in to add new notes.