Remove unused by_author scope from Poll::Recount

The "by_author" scope in Poll::Recount is no longer used anywhere in the
code. It was introduced in commit 6c297ae789 ("Add Poll Recount model,
factory and spec") but has never been referenced since.
This commit is contained in:
taitus
2025-10-24 09:39:27 +02:00
parent de1401f8e6
commit 1e5c14ba8a

View File

@@ -12,8 +12,6 @@ class Poll::Recount < ApplicationRecord
scope :booth, -> { where(origin: "booth") } scope :booth, -> { where(origin: "booth") }
scope :letter, -> { where(origin: "letter") } scope :letter, -> { where(origin: "letter") }
scope :by_author, ->(author_id) { where(author_id: author_id) }
before_save :update_logs before_save :update_logs
def update_logs def update_logs