Move Rails/HABTM cop out of todo (#30118)
This commit is contained in:
parent
1e7d5d2957
commit
88882fbbee
4 changed files with 4 additions and 10 deletions
|
@ -82,7 +82,7 @@ class Status < ApplicationRecord
|
|||
has_many :local_reblogged, -> { merge(Account.local) }, through: :reblogs, source: :account
|
||||
has_many :local_bookmarked, -> { merge(Account.local) }, through: :bookmarks, source: :account
|
||||
|
||||
has_and_belongs_to_many :tags
|
||||
has_and_belongs_to_many :tags # rubocop:disable Rails/HasAndBelongsToMany
|
||||
|
||||
has_one :preview_cards_status, inverse_of: :status, dependent: :delete
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue