Skip to content

Instantly share code, notes, and snippets.

@superscott
Created October 19, 2012 00:01
Show Gist options
  • Save superscott/3915489 to your computer and use it in GitHub Desktop.
Save superscott/3915489 to your computer and use it in GitHub Desktop.
@select_options = { "value" => "value", "name" => "name" }
<%= select_tag 'group_by', options_from_collection_for_select(@select_options, "value", "name") %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment