method
merge!
v7.2.3 -
Show latest stable
- Class:
ActiveModel::Errors
merge!(other)public
Merges the errors from other, each Error wrapped as NestedError.
Parameters
-
other - The ActiveModel::Errors instance.
Examples
person.errors.merge!(other)