Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2.3.8) is shown here.
errors()
public
Returns the Errors object that
holds all information about attribute error messages.
# File activerecord/lib/active_record/validations.rb, line 1130
def errors
@errors ||= Errors.new(self)
end