Commit cf488e8d400bf6436267b79f54e507f16ae929e8
1 parent
b64a1681
Exists in
master
and in
1 other branch
Forcing reload for cached prompts
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/questions_controller.rb
@@ -118,7 +118,7 @@ class QuestionsController < InheritedResources::Base | @@ -118,7 +118,7 @@ class QuestionsController < InheritedResources::Base | ||
118 | @question.choices.each do |c| | 118 | @question.choices.each do |c| |
119 | csv << [ c.id, c.item_id, c.data, c.question_id, c.item.creator != @question.creator, c.item.creator_id, | 119 | csv << [ c.id, c.item_id, c.data, c.question_id, c.item.creator != @question.creator, c.item.creator_id, |
120 | c.wins, c.losses, c.created_at, c.updated_at, c.active, c.score, c.local_identifier, | 120 | c.wins, c.losses, c.created_at, c.updated_at, c.active, c.score, c.local_identifier, |
121 | - c.prompts_on_the_left.size, c.prompts_on_the_right.size, c.prompts_count] | 121 | + c.prompts_on_the_left(true).size, c.prompts_on_the_right(true).size, c.prompts_count] |
122 | end | 122 | end |
123 | end | 123 | end |
124 | 124 |