title: Undefined method when accessing hash element
body: <p>Hash:</p>
  
  <pre><code>p: {:headline=&gt;"Managing Director at Test company name", :pid=&gt;"0tSsRvCR7r", :first_name=&gt;"John", :last_name=&gt;"Doe", :industry=&gt;"Financial Services", :summary=&gt;nil, :public_profile_url=&gt;"http://www.linkedin.com/pub/john-doe/7a/78/606", :distance=&gt;0}
  </code></pre>
  
  <p>Attempting to call p.pid but getting the error:</p>
  
  <pre><code>EXCEPTION: undefined method `pid' for #&lt;Hash:0x007fcf1b3a29f0&gt; 
  </code></pre>
  
  <p>All other elements can be accessed fine. Also tried different names for the field but to no avail. Can anyone shed some light on this please? Really hoping it's not one of those bugs that you stare at for ages only to realise it's something silly :/. </p>
  
  <p>Note: I have also tried p['pid']. This didn't work either. Relatively new to Rails.</p>