method

copy!

Importance_1
v7.0.0 - 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.