method

strict_match?

rails latest stable - Class: ActiveModel::Error
strict_match?(attribute, type, **options)
public

See if error matches provided attribute, type, and options exactly.

All params must be equal to Error’s own attributes to be considered a strict match.