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 23:09
on 2006-04-20 00: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 16:33
Emin, Thanks for the info. I did a little more research and came to the same conclusion.