Displaying 1 result from an estimated 1 matches for "codemgmtgroupid".
2006 Aug 18
1
join update seperation?
...ABTM)
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 ''edit''
end
end
end
joinupdate.rhtml
<h1>Editing User/Group association for <%= @user.Name %></H1>
<% group.find(:all, :...