From ed1cf4da9dd6d8d5ac7fd524fba027ed91e2052c Mon Sep 17 00:00:00 2001 From: Arthur Del Esposte Date: Thu, 31 Jul 2014 17:05:51 -0300 Subject: [PATCH] Add attr_accessible to basic product informations attributes --- 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 7a8070e..2fb5bff 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 + attr_accessible :name, :product_category, :highlighted, :price, :enterprise, :image_builder, :description, :available, :qualifiers, :unit_id, :discount, :inputs def self.default_search_display 'full' -- libgit2 0.21.2