How to use <select> with blank selected?

Hello all,

I’m using this ;
<%= select(“subdivision”, “id”, @subdivisions, { :include_blank => true

But the selected value is actually the 2nd row of the options???
How do I get the first ‘blank’ row to be selected ?


Should work.

Are you using firefox? If so you need to hit CTRL+F5 to do a hard
refresh that will reset all the form elements (they don’t automatically
get reset with a plain F5)

  • Jamie