Merge remote-tracking branch 'parent/main' into upstream-20241206
This commit is contained in:
commit
3c3ee557d0
187 changed files with 1105 additions and 537 deletions
|
@ -33,6 +33,7 @@ class Tag < ApplicationRecord
|
|||
has_many :followers, through: :passive_relationships, source: :account
|
||||
|
||||
has_one :antenna_tag, dependent: :destroy, inverse_of: :tag
|
||||
has_one :trend, class_name: 'TagTrend', inverse_of: :tag, dependent: :destroy
|
||||
|
||||
HASHTAG_SEPARATORS = "_\u00B7\u30FB\u200c"
|
||||
HASHTAG_FIRST_SEQUENCE_CHUNK_ONE = "[[:word:]_][[:word:]#{HASHTAG_SEPARATORS}]*[[:alpha:]#{HASHTAG_SEPARATORS}]"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue