method

matches?

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

matches?(method_name)
public

No documentation available.

# File activemodel/lib/active_model/validations/acceptance.rb, line 49
          def matches?(method_name)
            attr_name = convert_to_reader_name(method_name)
            attributes.include?(attr_name)
          end