Sure this one is solved somewhere, but couldn't find it.
I have a table which has a related table (has many through). I wish to choose 1 or more items in the related table with a check box. For example, if I had a table with group one, group two and group three and a list of clients. I would like to have a form so that given a client, (in the edit client form), I can assign a client to one or more groups.
How would I construct a form to achieve this using a reasonable succinct controller?
Many thanks,
Mike