Skip to content

Instantly share code, notes, and snippets.

@NZKoz
Created November 21, 2008 09:11
Show Gist options
  • Save NZKoz/27398 to your computer and use it in GitHub Desktop.
Save NZKoz/27398 to your computer and use it in GitHub Desktop.
[
["a", "fr-FR", "xxx"],
["b", "fr-FR", "yyy"],
["c", "fr-FR", "zzz"],
["a", "en-US", "aaa"],
["b", "en-US", "bbb"],
["c", "en-US", "ccc"]
].each do |row|
Category.create! :code=>row.first, :language=>row.second, :name=>row.third
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment