Files
fizzy/app/models/watch.rb
T
Mike Dalessio e4011ef211 Update primary keys on customer data to UUIDs
- schema changes to primary and foreign keys
- fixture changes
- customer data models subclass AccountScopedRecord
- import script updated
2025-11-17 09:12:30 -05:00

8 lines
191 B
Ruby

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