method
copy!
v6.1.7.7 -
Show latest stable
- 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)