Created
May 27, 2011 05:31
-
-
Save meltzerj/994692 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Error: | |
| NoMethodError (You have a nil object when you didn't expect it! | |
| You might have expected an instance of Array. | |
| The error occurred while evaluating nil.[]): | |
| Code: | |
| @fb_friends = @graph.get_connections("me", "friends") | |
| @returned_friends = @fb_friends.select { |k,v| v["name"] == "#{params[:term]}" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment