search for: group_error

Displaying 1 result from an estimated 1 matches for "group_error".

2006 May 29
0
using components to reuse code
...(session[:account_id] == Group.find(session[:group_id]).owner_id) Account.join_group(@account.id, session[:group_id]) # render_component (:controller => ''test/groups_man'', :action => ''group_list'') group_list else render :partial => ''group_error'' end end def group_list @group = Group.find(session[:group_id]) @account = @group.accounts.find(:all) render :partial => ''group_list'' end the problem come when I want to render :partial => ''group_list''. It seems that with partial(...