title: How to add a image display in rails app
body: <p>I am using CarrierWave in rails to upload images for my food records. I already created a single column 'avatar' in food model and the uploading form in the  template view works well.</p>
  
  <p>I want to add a display section for the image in the show.html.haml and display the image uploaded for the food record. How can I implement that?</p>
  
  <p>What I do now in the show.html.haml is:</p>
  
  <pre><code>= link_to image_tag( 'picture.jpg'), @food_item.avatar.current_path
  </code></pre>