Guys, I'm using select_tag to display a non-model dropdown, which works fine. However, I've tried every which way to use the :include_blank => true option, but it simply won't display a blank value. Using :include_blank => true with select on model fields works fine. Can someone please show me a working example?
on 2006-04-19 21:09
on 2006-04-19 22:48
well, there is no such an attribute for select_tag you can simply add blank row to the list of values that you produce
on 2006-04-20 14:33
Emin, Thanks for the info. I did a little more research and came to the same conclusion.