From bf667380038ac92f4e804fa6fe0ba4fc6720ad9a Mon Sep 17 00:00:00 2001 From: Arthur Del Esposte Date: Wed, 6 Aug 2014 20:52:52 -0300 Subject: [PATCH] Add attr_accessible to Alternative's selected_by_default attribute --- plugins/custom_forms/lib/custom_forms_plugin/alternative.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/custom_forms/lib/custom_forms_plugin/alternative.rb b/plugins/custom_forms/lib/custom_forms_plugin/alternative.rb index 20077e9..e6572fb 100644 --- a/plugins/custom_forms/lib/custom_forms_plugin/alternative.rb +++ b/plugins/custom_forms/lib/custom_forms_plugin/alternative.rb @@ -5,6 +5,6 @@ class CustomFormsPlugin::Alternative < ActiveRecord::Base belongs_to :field, :class_name => 'CustomFormsPlugin::Field' - attr_accessible :label, :field, :position + attr_accessible :label, :field, :position, :selected_by_default end -- libgit2 0.21.2