From baa3c5280f8d67c2b943eb65e555e4d7582abc63 Mon Sep 17 00:00:00 2001 From: Bertocq Date: Tue, 9 Jan 2018 23:53:09 +0100 Subject: [PATCH] Remove TODO's from code, write reminder action on related issue --- db/dev_seeds.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/db/dev_seeds.rb b/db/dev_seeds.rb index d2c32cb02..8ed80d5cb 100644 --- a/db/dev_seeds.rb +++ b/db/dev_seeds.rb @@ -535,41 +535,29 @@ end section "Creating polls" do Poll.create(name: "Current Poll", - # TODO: Uncomment when Poll get slugs - # slug: "current-poll", starts_at: 7.days.ago, ends_at: 7.days.from_now, geozone_restricted: false) Poll.create(name: "Current Poll Geozone Restricted", - # TODO: Uncomment when Poll get slugs - # slug: "current-poll-geozone-restricted", starts_at: 5.days.ago, ends_at: 5.days.from_now, geozone_restricted: true, geozones: Geozone.reorder("RANDOM()").limit(3)) Poll.create(name: "Incoming Poll", - # TODO: Uncomment when Poll get slugs - # slug: "incoming-poll", starts_at: 1.month.from_now, ends_at: 2.months.from_now) Poll.create(name: "Recounting Poll", - # TODO: Uncomment when Poll get slugs - # slug: "recounting-poll", starts_at: 15.days.ago, ends_at: 2.days.ago) Poll.create(name: "Expired Poll without Stats & Results", - # TODO: Uncomment when Poll get slugs - # slug: "expired-poll-without-stats-and-results", starts_at: 2.months.ago, ends_at: 1.month.ago) Poll.create(name: "Expired Poll with Stats & Results", - # TODO: Uncomment when Poll get slugs - # slug: "expired-poll-with-stats-and-results", starts_at: 2.months.ago, ends_at: 1.month.ago, results_enabled: true,