Created
March 18, 2012 15:32
-
-
Save raywu/2075443 to your computer and use it in GitHub Desktop.
Enumerate database seeds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
questions = [ | |
'How spontaneous of a traveler are you?', | |
'Do you drink alcohol?', | |
'Do you smoke cigarettes?', | |
'Do you like to know how things work?', | |
'I always like to try new things:', | |
'How religious are you?', | |
'In general, it is important to follow the rules:', | |
'Are you sensitive to others\' needs?' | |
] | |
questions.each do |b| | |
q = Question.new | |
q.copy = b | |
q.save | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment