hi all,
I want a drop down list with 3 select options.: <%= select(:variable, :attribute, %w{ Club Ploeg Tak }) %>
I use this selection box in a partial and want to both use it to add and update records. When updating a record the selection box must thus be able to select a value by default. Can this be done?
The value, if present is contained in the variable tree.kind
how do I read the selected values in my controller. I don't know what name the drop down list has.
regards, Stijn