title: No implicit conversion of String into Integer using JSON
body: <p>Currently trying to display a certain field of JSON but getting this error when trying to do so.</p>
  
  <p>Controller</p>
  
  <pre><code>require 'httparty'
  require 'json'
  
  class CatalogController &lt; ApplicationController
  
      # GET /feeds
      # GET /feeds.json
      def index
        # GRAB THE URL
        url = 'https://api.import.io/store/connector/ab589079-436a-47da-923c-c77cb572491d/_query?input=webpage/url:http%3A%2F%2Flinxspiration.com%2F%23_%3D_&amp;&amp;_apikey=dc9014801ce443229a302ec1db31bc7683360af6669d43767164345452e9faef39e958817471e8c77f894d1032293acc8656cefa3df03123ee06a331f313c7f131ed345f4bf0fa8f460a80a6e9c4cbc1'
        response = HTTParty.get(url)
  
        # PARSE THE RESPONSE
        @elements = response.parsed_response["results"]
        @parsed = @elements["results"]["media_images"]
  
      end
  
  end
  </code></pre>
  
  <p>View</p>
  
  <pre><code>&lt;%= @parsed %&gt;
  </code></pre>