2015-02-06 06:58:16 +01:00
|
|
|
class Cart < ActiveRecord::Base
|
2015-03-14 06:33:49 +01:00
|
|
|
|
|
|
|
|
has_many :item_in_carts
|
|
|
|
|
belongs_to :user
|
2015-03-14 08:17:06 +01:00
|
|
|
belongs_to :delivery_destination
|
2015-03-14 06:33:49 +01:00
|
|
|
|
2015-05-11 11:35:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-06 06:58:16 +01:00
|
|
|
end
|