title: how to display the value stored in db (its a boolean - true/ false) as check box in .erb template?
body: <p>Currently my code looks like this, all the values are shown in a table &amp; I am directly printing true / false values. Instead I want show true / false values as checked / un-checked state of check box:</p>
  
  <pre><code>   &lt;% @users.each do |user| %&gt;
      &lt;tr&gt;
      &lt;td&gt;&lt;%= user.username %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%= user.email %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%= user.is-admin %&gt;&lt;/div&gt;
      &lt;td&gt;&lt;%= user.active_status %&gt;&lt;/div&gt;
      &lt;/tr&gt;
     &lt;% end %&gt; 
  </code></pre>