title: Can I dynamically view images in ruby on rails using an instance
body: <p>new to ruby on rails and I wanted to know if using an instance to dynamically view an image is at all possible. I wanted to do it like this:</p>
  
  <pre><code> &lt;img src= app/images/“&lt;%= @article.pic %&gt;” &gt;
  </code></pre>
  
  <p>any help or answer would greatly be appreciated</p>
  
  <p>My goal is to display a list of articles. Every article would have a title, body and a pic. When an article is clicked I want the associated image to be displayed on the show page</p>