Commit 46d9daddbc6c2bd4609c9ebae751371931508203
1 parent
a7a41e69
Exists in
master
and in
1 other branch
make orphaned appearances valid
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/question.rb
... | ... | @@ -579,7 +579,7 @@ class Question < ActiveRecord::Base |
579 | 579 | else |
580 | 580 | # If no skip and no vote, this is an orphaned appearance |
581 | 581 | prompt = a.prompt |
582 | - csv << [ "Orphaned Appearance", a.id, a.voter_id, a.question_id, a.prompt.left_choice.id, a.prompt.left_choice.data.strip, a.prompt.right_choice.id, a.prompt.right_choice.data.strip, a.prompt_id, 'N/A', 'N/A', a.created_at, a.updated_at, 'N/A', '', a.voter.identifier, 'N/A'] | |
582 | + csv << [ "Orphaned Appearance", a.id, a.voter_id, a.question_id, a.prompt.left_choice.id, a.prompt.left_choice.data.strip, a.prompt.right_choice.id, a.prompt.right_choice.data.strip, a.prompt_id, 'N/A', 'N/A', a.created_at, a.updated_at, 'N/A', '', a.voter.identifier, 'TRUE'] | |
583 | 583 | end |
584 | 584 | end |
585 | 585 | end | ... | ... |