Here is my code: (Thank you MurifoX)
<% random_bullets = Bullet.all %>
<ul>
<% 4.times do %>
<li><%= random_bullets.sample.content %></li>
<% end %>
</ul>
I would like to know if making a condition is possible to prevent any two “bullets” from having the same content on the page. If so, could I get some help on the issue, maybe a nudge in the right direction?
Just remove them from the pool as they are used: