diff --git a/app/models/spree/post_product.rb b/app/models/spree/post_product.rb index d223051..9c8f6d3 100644 --- a/app/models/spree/post_product.rb +++ b/app/models/spree/post_product.rb @@ -1,5 +1,7 @@ class Spree::PostProduct < ActiveRecord::Base + attr_accessible :post_id, :product_id, :position + belongs_to :post belongs_to :product