From b46d3ddafcd1b0d88cfa89e7aea72805ee6697c5 Mon Sep 17 00:00:00 2001 From: Luke Baker Date: Fri, 27 Jan 2012 13:45:38 -0500 Subject: [PATCH] fix call to has_scope --- app/controllers/choices_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/choices_controller.rb b/app/controllers/choices_controller.rb index a3ff6df..e919f31 100644 --- a/app/controllers/choices_controller.rb +++ b/app/controllers/choices_controller.rb @@ -2,7 +2,7 @@ class ChoicesController < InheritedResources::Base respond_to :xml, :json actions :show, :index, :create, :update, :new belongs_to :question - has_scope :active, :boolean => true, :only => :index + has_scope :active, :type => :boolean, :only => :index before_filter :authenticate -- libgit2 0.21.2