avo
avo copied to clipboard
Fix exception when using a resource with a composite primary/foreign key association
Fixes https://github.com/avo-hq/avo/issues/3334
Fix NoMethodError: undefined method
to_sym' for an instance of Array` raised by this line when an association uses a composite primary key/foreign key.
Checklist:
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] I have added tests that prove my fix is effective or that my feature works