Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<li>
<%= ('a'.ord + answer_counter).chr >) <%= answer.content %>
</li>
The out put is currently like this
a) First answer option
a) Second answer option
a) Third answer option
a) fourth answer option
But I want like this
a) First answer option
b) Second answer option
c) Third answer option
d) fourth answer option
<%= render answers %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment