Sha256: 551eaf35ee1b71db41592a1e595555ce8140f399bb5affd14226daa14526b446

Contents?: true

Size: 946 Bytes

Versions: 3

Compression:

Stored size: 946 Bytes

Contents

<div class="table-responsive">
  <table class="table table-bordered table-hover table-sm">
    <thead>
      <th>GoodJob ID</th>
      <th>ActiveJob ID</th>
      <th>Job Class</th>
      <th>Queue</th>
      <th>Scheduled At</th>
      <th>Error</th>
      <th>ActiveJob Params</th>
    </thead>
    <tbody>
      <% jobs.each do |job| %>
        <tr id="<%= dom_id(job) %>">
          <td><%= link_to job.id, active_job_path(job.serialized_params['job_id'], anchor: dom_id(job)) %></td>
          <td><%= link_to job.serialized_params['job_id'], active_job_path(job.serialized_params['job_id']) %></td>
          <td><%= job.serialized_params['job_class'] %></td>
          <td><%= job.queue_name %></td>
          <td><%= job.scheduled_at || job.created_at %></td>
          <td><%= job.error %></td>
          <td><pre><%= JSON.pretty_generate(job.serialized_params) %></pre></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
good_job-1.3.5 engine/app/views/shared/_jobs_table.erb
good_job-1.3.4 engine/app/views/shared/_jobs_table.erb
good_job-1.3.3 engine/app/views/shared/_jobs_table.erb