method

copy!

copy!(other)
public

Copies the errors from other.

other - The ActiveModel::Errors instance.

Examples

person.errors.copy!(other)