| Web Development >> Ruby On Rails |
Two Many-to-Many
| Language : | English | Quality : | High | Has Audio : | true | Source : | Other | Media : | QuickTime |
| There are two different ways to set up a many-to-many association in Rails. In this episode you will see how to implement both ways along with some tips on choosing the right one for your project. |
Tags: Ruby On Rails, Screencast, Programming, [SUGGEST A TAG]
Resources referenced in this screencast
|
Articles Realted to this Topic |
[SUGGEST A ARTICLE] |
|
Basic Rails association cardinality ActiveRecord associations can be used to describe relations with one-to-one, one-to-many and many-to-many cardinality. Each model uses an association to describe its role in the relation. In each case, the belongs_to association is used in the model that has the foreign key |
