search for: uids2

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

Did you mean: uids
2008 May 06
1
check_friendship method only returning value of last pair
...same size as the array passed in. But the hash being returned (@friends_hash) always only has size of 1. Is this happening because of the code in check_friendship I commented below? # File lib/facebooker/session.rb, line 218 def check_friendship(array_of_pairs_of_users) uids1 = [] uids2 = [] array_of_pairs_of_users.each do |pair| uids1 = pair.first ############ should this be uids1 << pair.first ############## uids2 = pair.last ############ should this be uids2 << pair.last ############## end post(''facebook.friends.areFriend...