title: Console Data for my categories is showing in the view
body: <p>I'm a novice to rails but I created a group of categories with the intention of using them as a filter for items in my application. However in listing them it seems like data that should be console only is showing up in my view. How do I get rid of this?
  <a href="https://i.stack.imgur.com/yo1e1.png" rel="nofollow noreferrer">What shows in the view</a></p>
  
  <p>The code in my view are as follows: </p>
  
  <pre><code>&lt;%= State.all.each do |state| %&gt;
  &lt;%= link_to state.status, tickets_path(state: state.status) %&gt;
  &lt;div class="badge"&gt;
  &lt;%= state.tickets.count %&gt;
  &lt;/div&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>Where State is my "category" and Status is the "category name" and Ticket is the form submission or "item" so to speak.</p>