Displaying 1 result from an estimated 1 matches for "codemgmtuserid".
2006 Aug 18
1
join update seperation?
...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 Successful"
else
render_action '...