method

merge!

rails latest stable - Class: ActiveModel::Errors
merge!(other)
public

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

Parameters

Examples

person.errors.merge!(other)