match do |actual|
    if association = subject.class.reflect_on_association(attribute)
      macro_matches = association.macro == :has_many
      options_match = association.options.slice(*options.keys) == options
      macro_matches && options_match