Skip to content

Instantly share code, notes, and snippets.

@holderbaum
Created April 15, 2011 20:37
Show Gist options
  • Save holderbaum/922439 to your computer and use it in GitHub Desktop.
Save holderbaum/922439 to your computer and use it in GitHub Desktop.
= f.label t 'research'
= select("article", "research_id", Research.all.map {|research| [ research.name , research.id ] }, :prompt => t 'select')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment