method

messages

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveModel::Errors
messages() public

Returns a Hash of attributes with an array of their error messages.

Updating this hash would still update errors state for backward compatibility, but this behavior is deprecated.

Show source
Register or log in to add new notes.