Forum: Ruby on Rails creating many-many relation

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
9e7f68f8cf444a3a919a247e562bc464?d=identicon&s=25 Josh (Guest)
on 2007-01-06 19:30
(Received via mailing list)
I'm trying to create a many-many relation between computers and

I've got the DB set up correctly (id in each table and a
computers_programs table with computer_id and program_id).  Ideally,
I'd like to have on my computesr/edit page a checkbox for each program
that, when updated, creates the record in the computers_programs table.

I've no clue how to go about doing this.

Could someone possibly boil this down into an outline so I can get a
better idea of what I have to figure out?

This topic is locked and can not be replied to.