method

copy!

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

Copies the errors from other. For copying errors but keep @base as is.

Parameters

Examples

person.errors.copy!(other)