What’s the best way to approach following situation. I am working on meal planning app that has global ingredients (accessed by all users) and custom user specific ingredients. What would be the best approach to design this in ROM? In AR, probably something like STI would do, but I am curious on how would you guys approach it. Would you have two repos (each one working with specific type of ingredient)?
Or is there any other way that I am not aware of that would significantly reduce complexity?
1 Like
I’d like to know how to implement STI on ROM as well…
Specifically I would like to implement model (structure?) discrimination based on a whole tuple data, no only one attribute/column.
See my reply https://discuss.rom-rb.org/t/model-inheritance/82/2