method

details

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Error
details() public

Returns the error details.

error = ActiveModel::Error.new(person, :name, :too_short, count: 5)
error.details
# => { error: :too_short, count: 5 }
Show source
Register or log in to add new notes.