Getting stuck
Hi Everybody,
What am I missing?
I have a model called Exhibit that belongs to a Request model. I have a Note model with a polymorphic relationship as the note can be about either an exhibit or a request but not both. In this case if a specific note is attached to an exhibit that happens to belong to a given Request, then how do I make a query that gets all the notes that belong to that record either directly through the polymorphic relationship tying to the request, but also the notes that are tied to that request through the exhibit model?
Thanks in advance