app/views/adhoq/queries/_query.html.slim in adhoq-0.3.0 vs app/views/adhoq/queries/_query.html.slim in adhoq-0.4.0
- old
+ new
@@ -41,8 +41,8 @@
th.wip
th.created_at= human(Adhoq::Execution, :created_at)
th.status= human(Adhoq::Execution, :status)
th.report
tbody
- - query.executions.recent_first.each do |exec|
+ - query.executions.recent_first.preload(:report).each do |exec|
- next if exec.report.try(:on_the_fly?)
= render 'execution', query: query, exec: exec