Merge remote-tracking branch 'parent/main' into kb_migration

This commit is contained in:
KMY 2023-02-28 15:34:21 +09:00
commit 5d49a7c3c1
5 changed files with 76 additions and 8 deletions

View file

@ -23,6 +23,7 @@ class PollVote < ApplicationRecord
after_create_commit :increment_counter_cache
delegate :local?, to: :account
delegate :multiple?, :expired?, to: :poll, prefix: true
def object_type
:vote