Forum: Ruby on Rails Form helper

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ead43bcb0202410540a6a7cee5955d46?d=identicon&s=25 Fresh Mix (giga)
on 2009-03-02 15:40
How can I  set a default value: M ?
How can I order optios?

<%= select( "user", "sex", { t("male") => "M", t("female") => "F" },
{:include_blank => true} ) %>
This topic is locked and can not be replied to.