From 4b3b5d071823d498f044a558b5a39909e0dac5cd Mon Sep 17 00:00:00 2001 From: Larissa Reis Date: Fri, 12 Dec 2014 17:23:00 -0300 Subject: [PATCH] Allows mass assignment for qualifiers_list --- app/models/product.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/product.rb b/app/models/product.rb index 2fb5bff..b013e55 100644 --- a/app/models/product.rb +++ b/app/models/product.rb @@ -11,7 +11,7 @@ class Product < ActiveRecord::Base SEARCH_DISPLAYS = %w[map full] - attr_accessible :name, :product_category, :highlighted, :price, :enterprise, :image_builder, :description, :available, :qualifiers, :unit_id, :discount, :inputs + attr_accessible :name, :product_category, :highlighted, :price, :enterprise, :image_builder, :description, :available, :qualifiers, :unit_id, :discount, :inputs, :qualifiers_list def self.default_search_display 'full' -- libgit2 0.21.2