N:N association

Hello everybody,

I would like to configure this configuration:

clients

Hi,

The habtm relationship doesn´t work when the inner table has other data then the id's.

So you will need a model for it and then you'll need the has_many :through for having clients at products and vice-versa.

Hum, okay... Thank you :slight_smile: