title: Rails: Why images are not showing in my rails basic app
body: <p>my <code>index.html.erb</code> code -</p>
  
  <pre><code>&lt;h1&gt;Listing products&lt;/h1&gt;
  
  &lt;table border="1"&gt;
  
  &lt;% @products.each do |product| %&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;%= product.title %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%= product.description %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%= image_tag(product.image_url, :class =&gt; 'list_image') %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%= product.price %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%= link_to 'Show', product %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%= link_to 'Edit', edit_product_path(product) %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%= link_to 'Destroy', product, method: :delete, data: { confirm: 'Are you sure?' } %&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;% end %&gt;
  &lt;/table&gt;
  
  &lt;br /&gt;
  
  &lt;%= link_to 'New Product', new_product_path %&gt;
  </code></pre>
  
  <p>and images are under <code>app\assets\images</code>..but still images are not appearing on front end.</p>
  
  <p>When I <code>Firebug</code> it, i believe image tag is correctly forming...let me know what i am missing in this part.</p>
  
  <pre><code>&lt;img src="/images/product1.jpg" class="list_image" alt="Product1"&gt;
  </code></pre>
  
  <p><strong>Screenshot</strong> -</p>
  
  <p><img src="https://i.stack.imgur.com/jw3WR.jpg" alt="screenshot"></p>
  
  <p>Images are in place as well -</p>
  
  <p><img src="https://i.stack.imgur.com/v4f70.jpg" alt="image placeholder"></p>
  
  <p>Let me know what I am doing wrong and how do i fix it.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p><a href="http://github.com/swapnesh/depot" rel="noreferrer">github.com/swapnesh/depot</a></p>
  
  <p>Let me know why it is not working in my case.</p>
  
  <p>Although changing <code>/images/product1.jpg</code> <strong>To</strong> <code>/assets/product1.jpg</code> makes it working.</p>