This code is working:
select_tag(:search,options_for_select(("a".."e").to_a,"e"))
But the following code is not working.
select( :search,:age_to,("a".."e").to_a,"e")
I tried different combinations of the above code. No success. What am I
missing here? I am trying to have the value ''e'' as selected in
the drop down
menu.
-=- Neeraj
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails