Commit 46d9daddbc6c2bd4609c9ebae751371931508203

Authored by Luke Baker
1 parent a7a41e69

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,7 +579,7 @@ class Question < ActiveRecord::Base
579 else 579 else
580 # If no skip and no vote, this is an orphaned appearance 580 # If no skip and no vote, this is an orphaned appearance
581 prompt = a.prompt 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 end 583 end
584 end 584 end
585 end 585 end