initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class Order
|
||||
include SimplyStored::Couch
|
||||
|
||||
belongs_to :list
|
||||
belongs_to :user
|
||||
|
||||
has_many :product_orders
|
||||
has_many :products, through: :product_orders
|
||||
end
|
||||
Reference in New Issue
Block a user