Sha256: 9f9540203545cfd0067b232925563cd6d9af7bdf9033c9e00cb2462db8a89649
Contents?: true
Size: 314 Bytes
Versions: 22
Compression:
Stored size: 314 Bytes
Contents
class Kuroko2::Worker < Kuroko2::ApplicationRecord include Kuroko2::TableNameCustomizable belongs_to :execution, optional: true scope :on, -> (hostname) { where(hostname: hostname) } scope :ordered, -> { order(:hostname, :worker_id) } def self.executing(id) where(execution_id: id).take end end
Version data entries
22 entries across 22 versions & 1 rubygems