I created a drop down box in my form using select_tag:
<%= select_tag(:warning, options_for_select([['None', 1], ['Medium', 2], ['High', 3]], 1)) %>
Now I want to display the corresponding text for the value they select rather than the id in my show.html.erb, so it displays 'None' instead of 1. I am new to this and can't quite figure it out. Right now I am just using the default scaffold code and that displays the id:
<%= @standing.warning %>
Thanks...