nov/fb_graph — Issue #172: NilClass error on node.rb line 146
Author: malyk
Created: 2012-01-16 19:23:56+00:00
State: open

_response_ = JSON.parse(response.body).with_indifferent_access

Throws an NilClass error in our production app. This started when we pushed on 1/13 which I think coincides with an upgrade to 2.2.5.

undefined method `with_indifferent_access' for nil:NilClass
/app/.bundle/gems/ruby/1.9.1/gems/fb_graph-2.2.4/lib/fb_graph/node.rb:146:
in `handle_response'\n/app/.bundle/gems/ruby/1.9.1/gems/fb_graph-2.2.4/lib/fb_graph/node.rb:48:
in `get'\n/app/.bundle/gems/ruby/1.9.1/gems/fb_graph-2.2.4/lib/fb_graph/node.rb:18