Skip to content

Instantly share code, notes, and snippets.

@vlad-shatskyi
Last active December 12, 2015 03:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vlad-shatskyi/4705720 to your computer and use it in GitHub Desktop.
Save vlad-shatskyi/4705720 to your computer and use it in GitHub Desktop.
<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