title: Turn image URL into the image after parsing JSon using Rails
body: <p>My question is how do I render the image itself instead of the image url when I am parsing a JSON using HTTParty on Rails.  I am able to render the image_url as it comes through but would like the image there instead?  For example, instead of seeing:
  "image_url":"<a href="https://d2eyrv63e6x6lp.cloudfront.net/wp-content/uploads/2015/02/20141833/John-Smith.jpg" rel="nofollow noreferrer">https://d2eyrv63e6x6lp.cloudfront.net/wp-content/uploads/2015/02/20141833/John-Smith.jpg</a>"</p>
  
  <p>I would like to see the actual image that this represents.</p>
  
  <p>I'm using HTTParty to parse the JSon on Ruby on Rails 5.</p>
  
  <p>Here is my current view:</p>
  
  <pre><code>&lt;table&gt;
    &lt;thead&gt;
      &lt;tr&gt;
        &lt;th&gt;Name&lt;/th&gt;
        &lt;th&gt;Image&lt;/th&gt;
        &lt;th&gt;Title&lt;/th&gt;
        &lt;th&gt;Bio&lt;/th&gt;
        &lt;th&gt;Vote&lt;/th&gt;
        &lt;th colspan="3"&gt;&lt;/th&gt;
      &lt;/tr&gt;
    &lt;/thead&gt;
  
    &lt;tbody&gt;
      &lt;% @rosters.each do |roster| %&gt;
        &lt;tr&gt;
          &lt;td&gt;&lt;%= roster['name'] %&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%= roster['image_url'] %&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%= roster['title'] %&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%= roster['bio'] %&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%= roster['vote'] %&gt;&lt;/td&gt;
        &lt;/tr&gt;
      &lt;% end %&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Current Controller:</p>
  
  <pre><code>def index
      @rosters = HTTParty.get('https://api.example', :headers =&gt;{'Content_Type' =&gt; 'application/json'})
  end
  </code></pre>
  
  <p>Current Model:</p>
  
  <pre><code>class Roster &lt; ApplicationRecord
  
  include HTTParty
  end
  </code></pre>