parent
155cf12680
commit
73be8f38c1
31 changed files with 578 additions and 7 deletions
|
@ -49,5 +49,8 @@ module AccountAssociations
|
|||
|
||||
# Account migrations
|
||||
belongs_to :moved_to_account, class_name: 'Account', optional: true
|
||||
|
||||
# Hashtags
|
||||
has_and_belongs_to_many :tags
|
||||
end
|
||||
end
|
||||
|
|
|
@ -16,6 +16,7 @@ module AccountCounters
|
|||
:followers_count=,
|
||||
:increment_count!,
|
||||
:decrement_count!,
|
||||
:last_status_at,
|
||||
to: :account_stat
|
||||
|
||||
def account_stat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue