method

clear

Importance_1
clear() public

Clear the error messages.

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