Flowdock
method

clear

Importance_1
v4.0.2 - Show latest stable - 0 notes - Class: ActiveModel::Errors
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.