Add query_constraints
qualifier to the association matcher.
#1592
Labels
query_constraints
qualifier to the association matcher.
#1592
Rails 7.1 introduced the
query_constraints
qualifier that can be passed to the association definition.For example:
The idea here is to add the
query_constraints
qualifier to our association matchers.https://edgeguides.rubyonrails.org/active_record_composite_primary_keys.html#associations-between-models-with-composite-primary-keys
The text was updated successfully, but these errors were encountered: