Wednesday, July 15, 2026 2:12:58 AM
> sync_command_counts_job.rb
# frozen_string_literal: true

class SyncCommandCountsJob
  include ::SuckerPunch::Job

  def perform(_)
    ESM::Database.with_connection do
      ESM::Command.all.each do |command|
        ESM::CommandCount.where(command_name: command.name).first_or_create
      end
    end
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7