fixing data

This commit is contained in:
Jared Cosulich 2017-03-14 15:36:53 -04:00
parent ba027a31a7
commit 28e8f157bb
3 changed files with 7 additions and 6 deletions

View file

@ -196,7 +196,7 @@ namespace :data do
end
responded_at = Date.strptime(row['EndDate'], '%m/%d/%Y %H:%M:%S')
recipient.attempts.create(question: question, answer_index: answer_index, responded_at: responded_at)
recipient.attempts.create(question: question, answer_index: answer_index + 1, responded_at: responded_at)
end
end
end