Remove ActionText::Attachable from Tag
Tag was never actually embedded as an action-text-attachment in persisted rich text. It was only used in the Fizzy Do command prompt input which was not stored. The data transfer tests happened to use Tag as a convenient fixture — switch them to User, which is genuinely attachable via mentions.
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
class Tag < ApplicationRecord
|
||||
include ActionText::Attachable, Filterable
|
||||
include Filterable
|
||||
|
||||
belongs_to :account, default: -> { Current.account }
|
||||
has_many :taggings, dependent: :destroy
|
||||
|
||||
Reference in New Issue
Block a user