the suspicious one
<% @users.each do |a_user| %>
<tr>
<td><%= a_user.username %></td>
<td><%= a_user.private ? "Yes" : "No" %></td>
a_user.private == true ? "Yes" : "No"
also works, but since private is boolean already, and ternary is testing boolean, can just edit it out
meaning: if a_user's private key is assigned value true, prints out yes. if not, prints out no
Latest comments (0)