本地数据报错情况

dev_local_2
daiao 6 years ago
parent 862ba8bb0d
commit 1c07a0e9d3

@ -139,7 +139,7 @@ class User < ApplicationRecord
has_many :videos, dependent: :destroy
# 客户管理
belongs_to :partner
belongs_to :partner, optional: true
# Groups and active users
scope :active, lambda { where(status: STATUS_ACTIVE) }

Loading…
Cancel
Save