method
details
v7.1.3.2 -
Show latest stable
- Class:
ActiveModel::Error
details()public
Returns the error details.
error = ActiveModel::Error.new(person, :name, :too_short, count: 5) error.details # => { error: :too_short, count: 5 }