Sha256: bf9a10812d9742b9f4c57708efe6fcaafafd8e6003469ab7f13ecfce88c72566

Contents?: true

Size: 1.84 KB

Versions: 4

Compression:

Stored size: 1.84 KB

Contents

<div class="card">
  <div class="card-content">
    <h2 class="subtitle">Crash Report</h2>
    <table class="table is-fullwidth is-hoverable is-narrow">
      <thead>
        <tr>
          <th data-sort="string">Datetime</th>
          <th data-sort="string">Controller#action</th>
          <th data-sort="string">Method</th>
          <th data-sort="string">Format</th>
          <th></th>
          <th data-sort="string">Path</th>
          <th data-sort="string">Exception</th>
          <th data-sort="string">Backtrace</th>
          <th data-sort="string">Status</th>
          <th data-sort="float">Duration</th>
          <th data-sort="float">Views</th>
          <th data-sort="float">DB</th>
        </tr>
      </thead>
      <tbody>
        <% if @data.empty? %>
          <tr>
            <td colspan="9">We are glad that this list is empty ;)</td>
          </tr>
        <% end %>

        <% @data.each do |e| %>
          <tr>
            <td><%= format_datetime e[:datetime] %></td>
            <td><%= link_to e[:controller] + '#' + e[:action], rails_performance.rails_performance_summary_path({controller_eq: e[:controller], action_eq: e[:action]}), remote: true %></td>
            <td><%= e[:method] %></td>
            <td><%= e[:format] %></td>
            <td><%= bot_icon e["user_agent"] %></td>
            <td><%= link_to_path(e) %></td>
            <td><%= e[:exception] %></td>
            <td class="very-small-text">
              <%= raw e[:backtrace]&.join("<br/>") %>
            </td>
            <td><%= status_tag e[:status] %></td>
            <td class="nowrap"><%= ms e[:duration] %></td>
            <td class="nowrap"><%= ms e[:view_runtime] %></td>
            <td class="nowrap"><%= ms e[:db_runtime] %></td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_performance-1.2.3 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.2.2 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.2.1 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.2.0 app/views/rails_performance/rails_performance/crashes.html.erb