Remove speculative association and normalization

This commit is contained in:
Jeffrey Hardy
2024-09-13 18:29:17 -04:00
parent d98f92f0e6
commit 85f49fe3cb
-4
View File
@@ -1,8 +1,4 @@
class Tag < ApplicationRecord
# belongs_to :account
has_many :taggings, dependent: :destroy
has_many :bubbles, through: :taggings
normalizes :title, with: ->(value) { value.to_s }
end