Skip to content

Commit

Permalink
Format serialized params to ease reading
Browse files Browse the repository at this point in the history
In addition move params to the very end as it can be huge and next columns could be missed
  • Loading branch information
morgoth committed Oct 28, 2020
1 parent f210955 commit 01fed77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/app/views/shared/_jobs_table.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<th>Job Class</th>
<th>Queue</th>
<th>Scheduled At</th>
<th>ActiveJob Params</th>
<th>Error</th>
<th>ActiveJob Params</th>
</thead>
<tbody>
<% jobs.each do |job| %>
Expand All @@ -17,8 +17,8 @@
<td><%= job.serialized_params['job_class'] %></td>
<td><%= job.queue_name %></td>
<td><%= job.scheduled_at || job.created_at %></td>
<td><%= job.serialized_params %></td>
<td><%= job.error %></td>
<td><pre><%= JSON.pretty_generate(job.serialized_params) %></pre></td>
</tr>
<% end %>
</tbody>
Expand Down

0 comments on commit 01fed77

Please sign in to comment.