has_and_belongs_to_many attribute
- Published December 28th, 2005 in Tips & Tricks, Ruby
Here’s an excellent tutorial by Jeff Hicks explaining how the has_and_belongs_to_many ActiveRecord attribute works.
has_and_belongs_to_many is used on Ruby on Rails models to specify a N-to-N table relationship.




Bom post.
o link está errado, será este o correcto: http://gridpt1.fe.up.pt/mlopes/blog/wp-content/has_many_and_belongs_to_many.pdf
Indeed. Thank you :-)