updates dev_seeds with polls

This commit is contained in:
rgarcia
2016-09-16 13:06:39 +02:00
parent b5bebaa6c7
commit 4ebb4a1104

View File

@@ -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