Fixtures for many-to-many association

Hi there,

I have a typical many-to-many association (products and categories) and
would like to test this association between them. I have fixtures for
products and categories but since there is no categories_product model
not sure how to enter the association.

Any help will be much appreciated.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs