Files
fizzy/app/models/watch.rb
T
Kevin McConnell 694783e5f3 Allow toggling watch preference
We use a true/false preference so we can tell the difference between
disabling the watch vs never having the watch. This is so we can toggle
off and on the preferences for a container (like the bucket) without
losing any bubble-specific preferences.
2025-02-26 10:53:03 +00:00

7 lines
125 B
Ruby

class Watch < ApplicationRecord
belongs_to :user
belongs_to :bubble
scope :watching, -> { where(watching: true) }
end