title: undefined method 'images' instagram API
body: <p>I'm using the Instagram API to get images with certain tags, but Rails said undefined method 'images' when I'm showing the images in the view. </p>
  
  <p>Here's the error Rails gives: </p>
  
  <pre><code> undefined method `images' for #&lt;Array:0x007f9ee7460608&gt;
  </code></pre>
  
  <p>Here's the controller: </p>
  
  <pre><code>  @photos = Instagram.tag_recent_media("cats")
  </code></pre>
  
  <p>Here's the view source: </p>
  
  <pre><code>   &lt;% @photos.each do |photo| %&gt;
  
         &lt;%= image_tag photo.images.standard_resolution.url %&gt;
     &lt;% end %&gt;
  </code></pre>