Class: RRRSpec::Server::Persistence::Taskset

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
JSONConstructor::TasksetJSONConstructor, LogFilePersister
Defined in:
lib/rrrspec/server/persistent_models.rb

Class Method Summary collapse

Methods included from JSONConstructor::TasksetJSONConstructor

#as_full_json, #as_json_for_index, #as_json_for_result_page, #as_nodetail_json, #as_short_json, #as_summary_json

Class Method Details

.fullObject



12
13
14
15
16
17
18
# File 'lib/rrrspec/server/persistent_models.rb', line 12

def self.full
  includes(
    :tasks => [{:trials => [:task, :slave]}, :taskset],
    :slaves => [:trials],
    :worker_logs => [:taskset]
  )
end