avo icon indicating copy to clipboard operation
avo copied to clipboard

Fix exception when using a resource with a composite primary/foreign key association

Open filipegiusti opened this issue 4 months ago • 3 comments

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

filipegiusti avatar Oct 11 '24 18:10 filipegiusti