Patrick Aljord
2006-Oct-26 23:51 UTC
how can I set the first value of a select to something?
how can I set the first value of a select to something? like
:include_blank=> true but I want it to be <option
value="all">All</option>
I use select(object, method, choices, options = {}, html_options = {})
but I wouldn''t mind using collection_select
thanx in advance
Pat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---