Files
fizzy/app/models/watch.rb
T
2025-04-09 14:50:58 +02:00

8 lines
176 B
Ruby

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