class ActiveRecord::DynamicMatchers::Method

def attributes_hash

same parameter name.
Given that the parameters starts with `_`, the finder needs to use the
def attributes_hash
  "{" + attribute_names.map { |name| ":#{name} => _#{name}" }.join(",") + "}"
end