Options_for_select helper is also mess


#1

I am ‘trying’ to use ‘options_for_select’


<%= options_for_select([“2”, “5”, “10”, “15”, “25” ], @selected_distance
) %>

which generates the html…

2 5 10 15 25

but the dropdown selection is NOT selected, first item always…
what’s wrong ?

(OS X , Firefox)