updates dev_seeds with polls
This commit is contained in:
@@ -336,3 +336,9 @@ Proposal.last(3).each do |proposal|
|
||||
created_at: rand((Time.now - 1.week) .. Time.now))
|
||||
puts " #{banner.title}"
|
||||
end
|
||||
|
||||
puts "Creating polls"
|
||||
|
||||
3.times.each_with_index do |i|
|
||||
Poll.create(name: "Poll #{i}")
|
||||
end
|
||||
Reference in New Issue
Block a user