class DebatedPetitionsJob < ApplicationJob - DebatedPetitionsJob has no descriptive comment
queue_as :high_priority
def perform(date) - DebatedPetitionsJob#perform doesn't depend on instance state (maybe move it to another class?)
Petition.mark_petitions_as_debated!(date.to_date) -
Archived::Petition.mark_petitions_as_debated!(date.to_date) -
end
end