RailsCasts Pro episodes are now free!

Learn more or hide this

Two Many-to-Many

#47 Two Many-to-Many

Jun 20, 2007 | 9 minutes | Active Record
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.
  • Download:
  • mp4Full Size H.264 Video (13.7 MB)
  • m4vSmaller H.264 Video (9.11 MB)
  • webmFull Size VP8 Video (26.2 MB)
  • ogvFull Size Theora Video (20.2 MB)