http://jrhicks.net/Projects/rails/has_many_and_belongs_to_many.pdf explains how to handle many to many relations between two models.
But if you want to store more information into your relational table then you have to use has_many through..
http://wiki.rubyonrails.org/rails/pages/Beginner+Howto+on+has_many+:through
Thursday, April 24, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment