method

copy!

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - 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)
Show source
Register or log in to add new notes.