The is something I wrestle with a bit when I construct joined queries…
Perhaps some experienced insight will straighten this out for me.
Say you have two tables with two models, ‘authors’ and ‘posts’.
an author has_many posts, a post has_one author.
You need methods to do the following queries:
And you are doing a custom join query for both. How do you decide what
model they go into? To me either can make sense, so I am uncomfortable
Could I get some comments? Thanks!