class
Importance_1
v7.0.0 - Show latest stable - 0 notes - Superclass: Object

Active Model Error

Represents one single error

Constants

MESSAGE_OPTIONS = [:message]

CALLBACKS_OPTIONS = [:if, :unless, :on, :allow_nil, :allow_blank, :strict]

Attributes

[R] options

The options provided when calling +errors#add+

[R] raw_type

The raw value provided as the second parameter when calling +errors#add+

[R] type

The type of error, defaults to :invalid unless specified

[R] attribute

The attribute of base which the error belongs to

[R] base

The object which the error belongs to

Show files where this class is defined (1 file)
Register or log in to add new notes.