Is it possible to add an option like :include_blank => 'Please Select' in a method select_tag like it is possible with the select method? It seems not to work. Is there any substitute for this for select_tag method?
:include_blank => 'Please Select'
select_tag
select
In Rails 3 there is a :prompt option for select_tag:
:prompt
select_tag "things", many_thing_as_options, :prompt => "Please select"
1.4m articles
1.4m replys
5 comments
57.0k users