That makes sense, but then how would I reference a property in reverse? For instance, with your suggestion I end up with a list of tasks like:
Task1
Task2
Task3
But what if I then wanted to put the type of deal next to each task (Type is a field in the Deal table/object) so it would look something like:
Task1 - Contract
Task2 - Purchase Order
Task3 - Bulk Sale
And if I wanted to go one more rung up the ladder backwards, how would I do that, so it could also show the contact:
Task1 - Contract - Mark Jones
Task2 - Purchase Order - Ben Burns
Task3 - Bulk Sale - Mike McDonald
And to complicate matters, what if I decide to list the tasks by their due date? Using a @foreach will list each task by their due date in order for each deal, within each contact, not overall.
Sounds like I might need to query all of the tasks within the controller with its own variable to order them as as group correctly. I would also still need to reference the reverse relationships.