|
|
@@ -2,7 +2,7 @@ class ProductAttrConfig < ActiveRecord::Base
|
|
|
has_paper_trail
|
|
|
self.table_name = 'product_attr_configs'
|
|
|
belongs_to :product_attr_key, :foreign_key => :attr_key_id
|
|
|
- validates :name,presence:true
|
|
|
+ validates :type,presence:true
|
|
|
|
|
|
|
|
|
def show_products
|