From cf488e8d400bf6436267b79f54e507f16ae929e8 Mon Sep 17 00:00:00 2001 From: Dhruv Kapadia Date: Wed, 10 Feb 2010 16:40:23 -0500 Subject: [PATCH] Forcing reload for cached prompts --- app/controllers/questions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/questions_controller.rb b/app/controllers/questions_controller.rb index 495c723..21bb912 100644 --- a/app/controllers/questions_controller.rb +++ b/app/controllers/questions_controller.rb @@ -118,7 +118,7 @@ class QuestionsController < InheritedResources::Base @question.choices.each do |c| csv << [ c.id, c.item_id, c.data, c.question_id, c.item.creator != @question.creator, c.item.creator_id, c.wins, c.losses, c.created_at, c.updated_at, c.active, c.score, c.local_identifier, - c.prompts_on_the_left.size, c.prompts_on_the_right.size, c.prompts_count] + c.prompts_on_the_left(true).size, c.prompts_on_the_right(true).size, c.prompts_count] end end -- libgit2 0.21.2