Flowdock
method

delete

Importance_1
delete(attribute, type = nil, **options) public

Delete messages for key. Returns the deleted messages.

person.errors[:name]        # => ["cannot be nil"]
person.errors.delete(:name) # => ["cannot be nil"]
person.errors[:name]        # => []
Show source
Register or log in to add new notes.