Remove speculative association and normalization
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user