I have a block of code in my view like this:
<% @map[value].each do |i| %>
<p><%= f.check_box(i)%> <%= f.label(i)%><br /><p>
<% end %>
The value 'i'
is having string like a_b_c
. But it is displayed as a b c
without underscores on the view. Please let me know how to print the string as it is on the page without trimming the underscores. Also please let me know why f.label is trimming the underscores.
Thanks