module ActiveModel::AttributeMethods::ClassMethods
def attribute_method_matchers_matching(method_name)
def attribute_method_matchers_matching(method_name) attribute_method_matchers_cache.compute_if_absent(method_name) do attribute_method_matchers.filter_map { |matcher| matcher.match(method_name) } end end