|
|
@ -7,7 +7,7 @@ class Tiding < ApplicationRecord
|
|
|
|
|
|
|
|
|
|
|
|
has_many :attachments, as: :container
|
|
|
|
has_many :attachments, as: :container
|
|
|
|
|
|
|
|
|
|
|
|
scope :visible, -> { where.not(delete: 0) }
|
|
|
|
scope :visible, -> { where(delete: 0) }
|
|
|
|
|
|
|
|
|
|
|
|
def identifier
|
|
|
|
def identifier
|
|
|
|
value = nil
|
|
|
|
value = nil
|
|
|
|