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
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:




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