class ActiveModel::Errors

def merge!(other)


person.errors.merge!(other)

==== Examples

* +other+ - The ActiveModel::Errors instance.

==== Parameters

each Error wrapped as NestedError.
Merges the errors from other,
def merge!(other)
  return errors if equal?(other)
  other.errors.each { |error|
    import(error)
  }
end