Displaying 1 result from an estimated 1 matches for "has_added_app".
2008 Mar 13
0
ActionView::TemplateError when FQL query does not return any results
.../index.php?func=detail&aid=18799&group_id=4187&atid=16130
However, I just realized that I probably should have posted here first. Has
anyone else had a similar experiance with queries that don''t return results?
I have the following FQL Query:
"SELECT uid FROM user WHERE has_added_app = 1 AND uid IN (SELECT uid2 FROM
friend WHERE uid1
= #{@current_facebook_user.id})"
It usually works just fine. However, in the unlikely case where a user has
no friends, I get this error:
ActionView::TemplateError (You have a nil object when you didn''t expect it!
The error occurre...