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
|
@ -62,7 +62,7 @@ module Account::Associations
|
|||
has_many :aliases, class_name: 'AccountAlias', dependent: :destroy, inverse_of: :account
|
||||
|
||||
# Hashtags
|
||||
has_and_belongs_to_many :tags
|
||||
has_and_belongs_to_many :tags # rubocop:disable Rails/HasAndBelongsToMany
|
||||
has_many :featured_tags, -> { includes(:tag) }, dependent: :destroy, inverse_of: :account
|
||||
|
||||
# Account deletion requests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue