Ransack 4 requires explicitly allowlisting ransackable attributes and associations for each model. This causes the specs to fail with the most recent Ransack version. This fixes those spec failures.
What is the new behavior?
Specs will pass.
Checklist
Checklist doesn't apply as this is purely a fix for the test suite.
What is the current behavior?
Ransack 4 requires explicitly allowlisting ransackable attributes and associations for each model. This causes the specs to fail with the most recent Ransack version. This fixes those spec failures.
What is the new behavior?
Specs will pass.
Checklist
Checklist doesn't apply as this is purely a fix for the test suite.