Passing spec for user product information
This commit is contained in:
@@ -29,6 +29,7 @@ class Product
|
||||
private
|
||||
|
||||
def persist_product_category_ids
|
||||
return unless defined?(@product_category_ids) # Do not do anything if nothing happened to this attribute
|
||||
@product_category_ids ||= []
|
||||
existing_product_categories = product_categories
|
||||
|
||||
|
||||
Reference in New Issue
Block a user