Files
fizzy/app/models/tag.rb
T
Jeffrey Hardy 774fbb6060 Scope tags by account
We may want these to be bucket-scoped eventually, but they should
be scoped by something for now.
2024-10-01 16:25:18 -04:00

7 lines
139 B
Ruby

class Tag < ApplicationRecord
belongs_to :account
has_many :taggings, dependent: :destroy
has_many :bubbles, through: :taggings
end