views:

208

answers:

1

Hi,

it's about Rails and Formtastic.

How can I add a select box with formtastic without an initial/primary blank field? So that the initially selected item is the first item with content.

Thanks!

Yours, Joern.

+3  A: 

Have you tried :include_blank => false ?

According to this (line 718) http://github.com/justinfrench/formtastic/blob/master/lib/formtastic.rb that should work.

tsdbrown