I'm having the same issue except I'm wishing to use a check_box for
At the moment I have something that looks a little like this...
- fields_for @user do |user_form|
- user_form.fields_for :assign_roles do |role_form|
- Role::POSSIBLE_ROLES.each do |role|
= role_form.check_box role, :checked => @user.has_role?(role)
= role_form.label role.humanize
but when I do this then in the params hash I get something like
Was hoping I could use the standard @user.update_attributes by making
my filelds_for :roles
but that's not helping me too much.
Would be interested to know where you got to with it.
On Jan 7, 9:49 pm, Shaun <shaung...@gmail.com> wrote: