method
details
v6.1.7.7 -
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 }