This is my code:
<% question.answers.each do |answer| %>
<li><%= answer.content %></li>
<% end %>
I want to order the answer objects randomly. What would be the most efficient way to do so considering the amount of possible answers is less than say 10?
You can use the
shufflemethod like this: