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
  • Ruby on Rails

  •  OR 
    Created : 2007-06-20   Duration : 09:00 (17 MB)

    (Requires : MPEG-4 Video Player)
    Download file is iPod compatable

    Articles Realted to this Topic

    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