I need an advice or maybe better to call it idea. :)
Imagine you have an class, lets call it Tree. Trees are in different countries but for some of them there are native and for some there are not. I need the best way how to connect Tree with Country so for each country same Instance will have different values. Like for example pine will have native set as true for Canada, but not for Egypt, etc.
I know that I can have multiple records, but I'd rather prefer some smooth and pretty solution with avoidance of creating thousands of records for one Instance.
For now I need just an ideas.
I would model it like this:
This allows for a given
tree:tree.countrieswould return all countries in which the tree grows, buttree.native_countrieswould only return countries in which the tree is native.