title: calling a method in model from view
body: <p>I am trying to evaluate which indicator needs to be displayed next to an item based on if it's been viewed before or not, new comments etc. Until I decide on a symbol to use, I just want a number to display.</p>
  
  <p>in my Report Model i have</p>
  
  <pre><code>def self.indicator
      #bunch of if elsif statements returning a number 0-3
  end
  </code></pre>
  
  <p>in my view i have</p>
  
  <pre><code>&lt;% @reports.each do |report| %&gt;
      &lt;%= report.indicator %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>I get <code>undefined method 'indicator'</code></p>
  
  <p>I thought I had a grip on how methods work... but clearly not, what am I doing wrong?</p>