I have searched high and low without finding a “good” resource (sample code) for has_many through relationships.
Do you have any recommendations?
Thanks, Sunny
I have searched high and low without finding a “good” resource (sample code) for has_many through relationships.
Do you have any recommendations?
Thanks, Sunny
Sunny Beach wrote:
I have searched high and low without finding a "good" resource (sample code) for has_many through relationships.
Do you have any recommendations?
Thanks, Sunny
Maybe this might help?
I think I figured out the basics. For those looking for the info in the future there are a couple links below.
This link was very helpful creating the model code: http://paulbarry.com/articles/2007/10/24/has_many-through-checkboxes
This was helpful with the simple view: http://www.railsforum.com/viewtopic.php?id=15844
This was also somewhat helpful for creating the check boxes: http://railscasts.com/episodes/17