search for: current_facebook_us

Displaying 2 results from an estimated 2 matches for "current_facebook_us".

Did you mean: current_facebook_user
2008 Mar 11
2
trouble with MyPublisher.deliver_story
hi, I can''t seem to be able to delivery stories! I have this in my controller MyPublisher.deliver_story(@current_facebook_user.friends.first, @current_facebook_user, @object.id) This is in models/my_publisher.rb # story is published to the story of the to user def story(to, f, object_id) send_as :story recipients to title "An object?" body "#{fb_name(f)} is sending you a mess...
2008 Mar 13
0
ActionView::TemplateError when FQL query does not return any results
...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 occurred while evaluating nil.name) If a make these changes ... Index: vendor/plu...