In Rails 7.1, it appears the association validator is keyed by association name, and not the foreign key attribute name as the code up to now has been using.
We get to this line and look for the attribute name, but the validator is on the association name.
In Rails 7.1, it appears the association validator is keyed by association name, and not the foreign key attribute name as the code up to now has been using.
We get to this line and look for the attribute name, but the validator is on the association name.