Simple select .. which helper?

I do need a simple select, but i don’t know which helper to use

I need a dropdown selector with simple values from anArray = [ “0” ,
“2”, “5”, “10”, “15”, “25”]
I would like to preselect according to an index 0, 1, 2, 3, 4 (index
in the array)
and upon selection by the user, get the selected index back…

read all the doc, good examples but always related to collections…

which helper is my friend ?

thanks

kad

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs