method
copy!
v6.0.0 -
Show latest stable
- Class:
ActiveModel::Errors
copy!(other)public
Copies the errors from other.
other - The ActiveModel::Errors instance.
Examples
person.errors.copy!(other)
copy!(other)Copies the errors from other.
other - The ActiveModel::Errors instance.
Examples
person.errors.copy!(other)