Merge branch 'shop_setup'

This commit is contained in:
Min Zeya Phyo
2017-06-03 14:26:45 +06:30
17 changed files with 79 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
class Order < ApplicationRecord
#primary key - need to be unique
before_create :set_order_date
belongs_to :customer