Hi,
So I have two rails models - user and role - each specified with a habtm and a join table of users_roles.
When I save from my user form, which has checkboxes for which roles to choose, rails is trying to manually insert a value into the id column of the join table. This doesn't make sense to me, as the id column should be set to auto_increment and so wouldn't need a value passed to it. Any time I try to save, I get a MySQL error.
Am I missing something?
Thanks.