method

copy!

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

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

other - The ActiveModel::Errors instance.

Examples

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