method

merge!

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: ActiveModel::Errors
merge!(other) public

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

other - The ActiveModel::Errors instance.

Examples

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