Displaying 1 result from an estimated 1 matches for "currentfriends".
2010 May 24
3
ActionController::DoubleRenderError
def dispfriends
@myfriend=[]
@myfriendlogin = []
i=0
@currentgroup = Group.find_by_id(params[:groupid])
puts @currentgroup.id
@currentfriends=
GroupFriend.find_all_by_user_id_and_group_id(current_user.id,
@currentgroup.id)
for n in @currentfriends
@myfriend=n.friend_id
@myusers = User.find_by_id(@myfriend)
@myfriendlogin[i]=@myusers.login
puts @myfriendlogin[i]
i=i+1
respond_to do |format|
format.html { render :partial => ...