title: Show each element of a struct in a template
body: <p>I am very new to elixir / phoenix. All Im trying to do is to render a template with a query result and display all records of the query in the view. For this I have added the following codes in my template:</p>
  
  <pre><code>&lt;% Enum.each(@items, fn(item) -&gt; %&gt;                                                                                                                                                      
    &lt;%= item.name %&gt;                                                                                                                                                                        
  &lt;% end) %&gt;  
  </code></pre>
  
  <p>Here I am passing <code>@items</code> from my controller. This code gives me a blank page. I do not see any error either. However, if I change <code>&lt;%= item.name %&gt;</code> to <code>&lt;%= IO.puts item.name %&gt;</code> I see all the names displayed in my server console. </p>
  
  <p>How should I fix this? </p>