method

merge!

merge!(other)
public

Merges the errors from other.

other - The ActiveModel::Errors instance.

Examples

person.errors.merge!(other)