views:

146

answers:

0

I have a HABTM relationship on one of my models. I'm using formtastic for my forms. On a new action when choosing to output my column (HABTM) as check_boxes I see all my options appear, however they are all checked on by default. Ideally I want them to not be selected on a new action. When I uncheck a few options and save them, I will see the proper checkboxes checked when going to the edit action. So this appears to be an issue with the new action only.

FYI - When I use a select box instead I see no options selected for the new action, which is what I would expect if I use a check_boxes.

Also I'm using Rails 3.