errors()
Returns the Errors object that holds all information about attribute error messages.
# File activemodel/lib/active_model/validations.rb, line 169 def errors @errors ||= Errors.new(self) end