Subscribe
Contact



AddThis Social Bookmark Button
1 result for posts tagged 'through' :
  • has_and_belongs_to_many or has_many :through?

    As you may (or may not) know, there are two ways to build a many-to-many (or N-N) relationship with Rails. The first way uses has_and_belongs_to_many in both models. You'll have to create a join table that has no corresponding model or More...

© 2007 Eric Abouaf