I’am try using collection_select helper, but the option selected_value
not work
i try like this:
<%= collection_select(“user”, “gender_id”, @genders, “id”,
“description”, {:include_blank => true, :selected_value => “2”}
[]'s
Bruno
I’am try using collection_select helper, but the option selected_value
not work
i try like this:
<%= collection_select(“user”, “gender_id”, @genders, “id”,
“description”, {:include_blank => true, :selected_value => “2”}
[]'s
Bruno
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs