another inclusion check

This commit is contained in:
2016-06-02 16:51:59 +02:00
parent 2aed433685
commit 1dc8a69dce
+2
View File
@@ -5,4 +5,6 @@ class ProductVariant
property :position, type: Fixnum, default: 0 property :position, type: Fixnum, default: 0
belongs_to :product belongs_to :product
belongs_to :supplier belongs_to :supplier
view :by_product_id, key: :product_id
end end