method
copy!
v5.2.3 -
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)