Currently my code looks like this, all the values are shown in a table & I am directly printing true / false values. Instead I want show true / false values as checked / un-checked state of check box:
<% @users.each do |user| %>
<tr>
<td><%= user.username %></td>
<td><%= user.email %></td>
<td><%= user.is-admin %></div>
<td><%= user.active_status %></div>
</tr>
<% end %>
Sounds like you need http://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#method-i-check_box_tag