Skip to content

Instantly share code, notes, and snippets.

@jherdman
Created September 23, 2013 17:57
Show Gist options
  • Save jherdman/6674424 to your computer and use it in GitHub Desktop.
Save jherdman/6674424 to your computer and use it in GitHub Desktop.
irb(main):030:0> columns.zip(values).each do |col, val|
irb(main):031:1* puts "(#{col}, #{val})"
irb(main):032:1> end
("id", 2)
("program_id", 4)
("version", NULL)
("title", 'Level 2 Intake Questionnaire Part 1')
("description", 'Stage 2 intake questionnaire')
("duplicate_allowed", 0)
("css_path", NULL)
("submit_button_text", NULL)
("success_response_text", NULL)
("created_at", '2013-09-10 16:44:18')
("updated_at", '2013-09-10 16:44:18')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment