instance method
errors
Ruby on Rails 2.3.18
Since v2.2.3Signature
errors()
Returns the Errors object that holds all information about attribute error messages.
Source
# File activemodel/lib/active_model/validations.rb, line 85
def errors
@errors ||= Errors.new
end
Defined in activemodel/lib/active_model/validations.rb line 85
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::Validations