question: which belongs to which?
[product] ?-----? [message]
There is a chatting feature.
and, when sending a message, user can link product to their message
(all messages will be persisted.)
in my brain, each message will have zero or one product link.
so i thought, message
however, product shouldn’t
belongs_to the message.
so another way is to make message have a product_id and
belongs_to the product.
but, it is weird to say, product
I am so confused. any advice would be appreciated.