Sha256: a682e6db3d88ee2003f2d79b6882a3c9b785431bc187499dc185af94cd1d5bdc
Contents?: true
Size: 402 Bytes
Versions: 5
Compression:
Stored size: 402 Bytes
Contents
class SimulationJob < ApplicationRecord # Here we test the deprecated include method instead of the new # OscMacheteRails::Statusable # We will want both to work... include OSC::Machete::SimpleJob::Statusable belongs_to :simulation before_destroy { |j| j.job.delete(rmdir: true) if j.job } # Determine if the results are valid # def results_valid? # # CODE GOES HERE # end end
Version data entries
5 entries across 5 versions & 1 rubygems