method

clear

Importance_1
clear public

Clears all errors. Clearing the errors does not, however, make the model valid. The next time the validations are run (for example, via ActiveRecord::Validations#valid?), the errors collection will be filled again if any validations fail.

Show source
Register or log in to add new notes.