wip: order checkout
This commit is contained in:
@@ -22,6 +22,7 @@ class User < ApplicationRecord
|
||||
# Relationships
|
||||
has_many :events, dependent: :destroy
|
||||
has_many :tickets, dependent: :destroy
|
||||
has_many :orders, dependent: :destroy
|
||||
|
||||
# Validations
|
||||
validates :last_name, length: { minimum: 3, maximum: 12, allow_blank: true }
|
||||
|
||||
Reference in New Issue
Block a user