Continuing from here: Rails - Form problems, everytime I try to create a new group_membership I get this: WARNING: Can't mass-assign protected attributes: group, member at my log and the ID's are added blank.
Have been making changes to the attr_accessible of my models but so far no solution.
Thanks in advance.
Make sure you add :group and :member to your attr_accessible call :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With