Sha256: 02d2925f9b8f23d78b493f18ace12334f473f16a614eb1b32c00c8a594bdc8d1

Contents?: true

Size: 1.77 KB

Versions: 17

Compression:

Stored size: 1.77 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 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><%= 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

17 entries across 17 versions & 1 rubygems

Version Path
rails_performance-1.2.0.alpha5 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.2.0.alpha4 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.2.0.alpha3 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.2.0.alpha2 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.2.0.alpha1 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.1.0 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.0.5.3 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.0.5.2 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.0.5.1 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.0.5 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.0.4 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.0.3 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.0.2 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.0.1 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.0.0 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.0.0.beta5 app/views/rails_performance/rails_performance/crashes.html.erb
rails_performance-1.0.0.beta4 app/views/rails_performance/rails_performance/crashes.html.erb