clear() public

Clear the error messages.

person.errors.full_messages # => ["name can not be nil"]
person.errors.clear
person.errors.full_messages # => []
Show source
Register or log in to add new notes.