Method: ActiveModel::Validations#errors
- Defined in:
- lib/active_model/validations.rb
#errors ⇒ Object
Returns the Errors object that holds all information about attribute error messages.
183 184 185 |
# File 'lib/active_model/validations.rb', line 183 def errors @errors ||= Errors.new(self) end |