I think this line:
<%= radio_button_tag "user[role_fields_id][]", role_fields.id, @user.role_id == role_fields.id %>
Should be corrected to this:
<%= radio_button_tag "user[role_fields_id][]", role_fields.id, @user.role.id == role_fields.id %>
I hope that helps.