Sha256: 51598f16a520be347a079945e0b100fc8ee04334c4dde3781438a30edb4bee57

Contents?: true

Size: 910 Bytes

Versions: 97

Compression:

Stored size: 910 Bytes

Contents

<div id="better_record-table_sizes">
  <h1>
    <%= BetterRecord::TableSize.polymorphic_name %> Summary
  </h1>

  <table style='border-collapse: collapse'>
    <thead>
      <tr style='border-bottom: 1px solid #222'>
        <td style='padding: .5em; border-right: 1px solid #222'>
          Name
        </td>
        <td>
          Total Size
        </td>
      </tr>
    </thead>
    <tbody>
      <% BetterRecord::TableSize.all.each do |table_size| %>
        <%- if table_size.oid == @table_sizes.last.oid -%>
        <tr>
        <%- else -%>
        <tr style="border-bottom: 1px solid #222">
        <%- end -%>
          <td style='padding: .5em; border-right: 1px solid #222'>
            <%= link_to table_size.name, table_size %>
          </td>
          <td style='padding: .5em'>
            <%= table_size.total %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
better_record-0.8.2 app/views/better_record/table_sizes/index.html.erb
better_record-0.8.1 app/views/better_record/table_sizes/index.html.erb
better_record-0.8.0 app/views/better_record/table_sizes/index.html.erb
better_record-0.7.5 app/views/better_record/table_sizes/index.html.erb
better_record-0.7.4 app/views/better_record/table_sizes/index.html.erb
better_record-0.7.3 app/views/better_record/table_sizes/index.html.erb
better_record-0.7.2 app/views/better_record/table_sizes/index.html.erb
better_record-0.7.1 app/views/better_record/table_sizes/index.html.erb
better_record-0.7.0 app/views/better_record/table_sizes/index.html.erb
better_record-0.6.1 app/views/better_record/table_sizes/index.html.erb
better_record-0.6.0 app/views/better_record/table_sizes/index.html.erb
better_record-0.5.5 app/views/better_record/table_sizes/index.html.erb
better_record-0.5.4 app/views/better_record/table_sizes/index.html.erb
better_record-0.5.1 app/views/better_record/table_sizes/index.html.erb
better_record-0.5.0 app/views/better_record/table_sizes/index.html.erb
better_record-0.4.0 app/views/better_record/table_sizes/index.html.erb
better_record-0.3.0 app/views/better_record/table_sizes/index.html.erb