delete(key)
Instance Public methods
Delete messages for key
. Returns the deleted messages.
person.errors.get(:name) # => ["cannot be nil"] person.errors.delete(:name) # => ["cannot be nil"] person.errors.get(:name) # => nil
Delete messages for key
. Returns the deleted messages.
person.errors.get(:name) # => ["cannot be nil"] person.errors.delete(:name) # => ["cannot be nil"] person.errors.get(:name) # => nil
Please login to continue.