Displaying 1 result from an estimated 1 matches for "joinupd".
Did you mean:
joined
2006 Aug 18
1
join update seperation?
...oin but I''m getting Access errors on the user table (which I should) .
how do I limit what RAILS wants to update to just the join table. I
thought this (http://wiki.rubyonrails.org/rails/pages/CheckboxHABTM)
would do it based on the last comment.
here''s my relevant parts
def joinupdate
@user = user.find(params[:user][:CodeMgmtUserId])
if !params[:user]
@user.groups.clear
else
if
@user.update_attribute(:group_ids,@params[''user''][''CodeMgmtgroupId''])
flash[''notice''] = "Update Succes...