tap/app/models/order_product.rb
2014-12-04 17:02:08 +01:00

6 lines
128 B
Ruby

class OrderProduct < ActiveRecord::Base
belongs_to :order
belongs_to :product
accepts_nested_attributes_for :product
end