clear()
Removes all the errors that have been added.
# File activerecord/lib/active_record/validations.rb, line 148 def clear @errors = {} end