Class Validatable::Errors
In: lib/errors.rb
Parent: Object

Methods

full_messages   on   raw   replace  

Included Modules

Enumerable

Public Instance methods

Returns an array containing the full list of error messages.

  • Returns nil, if no errors are associated with the specified attribute.
  • Returns the error message, if one error is associated with the specified attribute.
  • Returns an array of error messages, if more than one error is associated with the specified attribute.
  • Returns an array of error messages associated with the specified attribute.
  • Replaces the errors value for the given attribute

[Validate]