Browser send optgroup label

I have generated with form.fields_for and
form.grouped_collection_select
the following html (this is just sample):

Volvo Saab Mercedes Audi

when user submit form, in log i have params[:car][:name] = “Swedish
Cars”
i did not success to reproduce this issue … except replacing one of
“option”'s value with “Swedish Cars”
But optgroup in normal situation should not be selected … maybe IE9
bug ? (i dont know what browser was that)

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