Commit ed3ad6467f345986b9b6c94323b8d04edf92e0e5

Authored by Luke Baker
1 parent 63fd49f6

change from Stopped_Voting_Or_Clicking to Stopped_Voting_Or_Skipping

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/question.rb
@@ -597,7 +597,7 @@ class Question < ActiveRecord::Base @@ -597,7 +597,7 @@ class Question < ActiveRecord::Base
597 action_appearances = Appearance.count(:conditions => 597 action_appearances = Appearance.count(:conditions =>
598 ["voter_id = ? AND question_id = ? AND answerable_type IS NOT ?", 598 ["voter_id = ? AND question_id = ? AND answerable_type IS NOT ?",
599 a.voter_id, a.question_id, nil]) 599 a.voter_id, a.question_id, nil])
600 - appearance_type = (action_appearances > 0) ? 'Stopped_Voting_Or_Clicking' : 'Bounce' 600 + appearance_type = (action_appearances > 0) ? 'Stopped_Voting_Or_Skipping' : 'Bounce'
601 csv << [ appearance_type, 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, 'NA', a.created_at, a.updated_at, 'NA', '', a.voter.identifier, 'TRUE'] 601 csv << [ appearance_type, 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, 'NA', a.created_at, a.updated_at, 'NA', '', a.voter.identifier, 'TRUE']
602 end 602 end
603 end 603 end