method
copy!
v7.1.3.4 -
Show latest stable
- Class:
ActiveModel::Errors
copy!(other)public
Copies the errors from other. For copying errors but keep @base as is.
Parameters
-
other - The ActiveModel::Errors instance.
Examples
person.errors.copy!(other)