method

messages

rails latest stable - Class: ActiveModel::Errors
messages()
public

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