Selected_value or select not work

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.

| Privacy Policy | Terms of Service | Remote Ruby Jobs