Comment 8 for bug 850160

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

I found a definition of might_have that helps me out.

might_have” means the foreign table has the ID from my table, but with either zero or one objects (not multiple). Thus, it has the same linkage as “has_many” and the same usage as “has_a”.
https://library.calvin.edu/devdocs_project/doku.php

If that definition is accurate?

So if it has the same linkage as has_many, I get why the code was treating it like a has_many with the multi=1, and then was just trying to pull out the single value at the end.

Josh