method

full_message

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: Error
full_message() public

Returns the full error message.

error = ActiveModel::Error.new(person, :name, :too_short, count: 5)
error.full_message
# => "Name is too short (minimum is 5 characters)"
Show source
Register or log in to add new notes.