tap/app/models/order_product.rb

7 lines
128 B
Ruby
Raw Normal View History

class OrderProduct < ActiveRecord::Base
belongs_to :order
belongs_to :product
2014-12-04 17:02:08 +01:00
accepts_nested_attributes_for :product
end