method
copy!
v8.1.1 -
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)