# Only do one lookup on the API side per {class, uuid, workbench
# request} unless {cache: false} is given via opts.
cache_key = "request_#{Thread.current.object_id}_#{self.to_s}_#{uuid}"
- if false != opts[:cache]
+ if opts[:cache] == false
Rails.cache.write cache_key, arvados_api_client.api(self, '/' + uuid)
end
hash = Rails.cache.fetch cache_key do
<% if @log_of.andand.any? %>
<p><i>This collection contains log messages from:</i><br />
<%= render_arvados_object_list_start(@log_of, 'Show all jobs',
- jobs_path(filters: [['log', '=', @object.uuid]].to_json)) do |job| %>
+ jobs_path(filters: [['log', '=', @object.portable_data_hash]].to_json)) do |job| %>
<%= link_to_if_arvados_object(job, friendly_name: true) %><br />
<% end %>
</p>