fixes dev_seed error due to using deprecated summary field in Poll::Question

This commit is contained in:
kikito
2017-01-31 11:45:42 +01:00
parent 178dd303c6
commit 05f5521e9e

View File

@@ -520,7 +520,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),
summary: Faker::Lorem.sentence(3),
description: description,
valid_answers: Faker::Lorem.words(3).join(', '),
poll: poll)