title: Iterate and Stringify_keys
body: <p>Alright, I was very happy iterating over items table when suddenly <strong>BANG!</strong></p>
  
  <pre><code>NoMethodError in Items#index
  
  undefined method `stringify_keys' for "/items/7":String
  </code></pre>
  
  <p>Why like this?</p>
  
  <p><strong>Item Controller</strong></p>
  
  <pre><code>def index 
    @item = current_user.bar.items.all
  end
  </code></pre>
  
  <p><strong>Item Index View</strong></p>
  
  <pre><code>&lt;% current_user.bar.items.each do |item|%&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;%= link_to(image_tag( item.foto.url.to_s), item.name, item_path(item.id)) %&gt;&lt;/td&gt;
      &lt;/tr &gt;
  &lt;% end %&gt;
  </code></pre>