title: Parsing JSON in Controller w/ HTTParty
body: <p>In my controller I have the following code...</p>
  
  <pre><code>response = HTTParty.get('https://graph.facebook.com/zuck')
  logger.debug(response.body.id)
  </code></pre>
  
  <p>I am getting a NoMethodError / undefined method `id'</p>
  
  <p>If I do...</p>
  
  <pre><code>logger.debug(response.body)
  </code></pre>
  
  <p>It outputs as it should...</p>
  
  <pre><code>{"id":"4","name":"Mark Zuckerberg","first_name":"Mark","last_name":"Zuckerberg","link":"http:\/\/www.facebook.com\/zuck","username":"zuck","gender":"male","locale":"en_US"}
  </code></pre>
  
  <p>One would think it's <strong>response.body.id</strong>, but obviously that's not working. Thanks in advance!</p>