updates dev seeds with booths
This commit is contained in:
@@ -342,3 +342,7 @@ puts "Creating polls"
|
|||||||
3.times.each_with_index do |i|
|
3.times.each_with_index do |i|
|
||||||
Poll.create(name: "Poll #{i}")
|
Poll.create(name: "Poll #{i}")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
10.times.each_with_index do |i|
|
||||||
|
Poll::Booth.create(name: "Booth #{i}", poll: Poll.all.sample)
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user