From a83c259a04904c4448bfccd58818af7d1363fa99 Mon Sep 17 00:00:00 2001 From: Angel Perez Date: Wed, 4 Oct 2017 15:49:15 -0400 Subject: [PATCH] Remove 'description' attribute from Poll::Question This avoid an exception when seeding the database See PR #1977 --- db/dev_seeds.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/db/dev_seeds.rb b/db/dev_seeds.rb index b151a45cf..3ce1a439f 100644 --- a/db/dev_seeds.rb +++ b/db/dev_seeds.rb @@ -559,7 +559,6 @@ print "Creating Poll Questions" open_at = rand(2.months.ago..2.months.from_now) question = Poll::Question.create!(author: author, title: Faker::Lorem.sentence(3).truncate(60), - description: description, valid_answers: Faker::Lorem.words((2..7).to_a.sample).join(', '), poll: poll) end