Returns the Errors object that holds all information about attribute error messages.
1130 1131 1132
# File 'lib/active_record/validations.rb', line 1130 def errors @errors ||= Errors.new(self) end