% log_ids = @object.job_log_ids job_ids = @object.job_ids still_logging, done_logging = log_ids.keys.partition { |k| log_ids[k].nil? } %> <% unless done_logging.empty? %>
finished component | job log |
---|---|
<%= cname %> | <%= link_to("Log for #{cname}", job_path(job_ids[cname], anchor: "Log")) %> |