I have this kind of problem. I have table called item and there is
column called priority. So i have to do select tag for priority.
<% @item.priority = 3 %>
<td><%= select_tag "item","priority",[1,2,3,4,5] %></td>
it gives an error
undefined method `stringify_keys' for [1, 2, 3, 4, 5]:Array
Any ideas how to solve that ?