|
|
|
@@ -174,7 +174,7 @@ class User < Owner |
|
|
|
has_many :system_notification_histories |
|
|
|
has_many :system_notifications, through: :system_notification_histories |
|
|
|
has_one :trace_user, dependent: :destroy |
|
|
|
|
|
|
|
has_many :feedbacks, dependent: :destroy |
|
|
|
# Groups and active users |
|
|
|
scope :active, lambda { where(status: STATUS_ACTIVE) } |
|
|
|
scope :like, lambda { |keywords| |
|
|
|
|