method
match?
rails latest stable - Class:
ActiveModel::Error
match?(attribute, type = nil, **options)public
See if error matches provided attribute, type, and options.
Omitted params are not checked for a match.
match?(attribute, type = nil, **options)See if error matches provided attribute, type, and options.
Omitted params are not checked for a match.