class ActiveModel::Errors
def copy!(other) # :nodoc:
person.errors.copy!(other)
Examples
other - The ActiveModel::Errors instance.
Copies the errors from other.
def copy!(other) # :nodoc: @messages = other.messages.dup @details = other.details.dup end