Select lists - initial and empty elements

Hi all,

A couple quick select helper questions.

First, how do I set the initial selection value?

Second, how do I create an “empty” element in the list? Or should I
just
unshift nil onto the list?

I looked over the docs, but didn’t find anything specifically about
this. If
this is covered, just point me to the appropriate link and I’ll be on my
way. :slight_smile:

Thanks,

Dan

http://rails.rubyonrails.com/classes/ActionView/Helpers/FormOptionsHelper.html#M000351

Chris

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