<%= render layout: 'index_table', locals: { cache_key: Trade::CardLog.column_names.hash } do %> <%= render partial: 'index_tbody', layout: 'index_tr', collection: @card_logs, as: :model %> <% end %> <%= paginate @card_logs %>