<commit_before><div class='container-fluid'>
  <h3 class='page-header'><%= plural_table_name.titleize %></h3>
  <div class='row'>
    <div class='col-md-12'>
      <div class='panel panel-default'>
        <div class='panel-body'>
          <%%= content_tag 'table', class: 'table table-striped datatable' do %>
            <thead>
              <tr><% attributes.each do |attribute| %>
                <th><%= attribute.name.humanize %></th><% end %>
              </tr>
            </thead>
            <tbody>
              <%%= content_tag_for(:tr, @<%= plural_table_name %>) do |<%= singular_table_name %>| %><% attributes.each do |attribute| %>
                <td><%%= link_to <%= singular_table_name %>.<%= attribute.name %>, <%= singular_table_name %> %></td><% end %>
              <%% end -%>
            </tbody>
          <%% end %>
        </div>
      </div>
    </div>
  </div>
  <hr>
  <%%= link_to new_<%= singular_table_name %>_path, class: 'btn btn-primary btn-large' do %>
    <%%= icon('plus') %> New
  <%% end %>

</div><commit_msg>fix scaffold template that was using removed helper (fix #1)<commit_after><div class='container-fluid'>
  <h3 class='page-header'><%= plural_table_name.titleize %></h3>
  <div class='row'>
    <div class='col-md-12'>
      <div class='panel panel-default'>
        <div class='panel-body'>
          <%%= content_tag 'table', class: 'table table-striped datatable' do %>
            <thead>
              <tr><% attributes.each do |attribute| %>
                <th><%= attribute.name.humanize %></th><% end %>
              </tr>
            </thead>
            <tbody>
              <%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %>
                <tr><% attributes.each do |attribute| %>
                  <td><%%= link_to <%= singular_table_name %>.<%= attribute.name %>, <%= singular_table_name %> %></td><% end %>
                </tr>
              <%% end -%>
            </tbody>
          <%% end %>
        </div>
      </div>
    </div>
  </div>
  <hr>
  <%%= link_to new_<%= singular_table_name %>_path, class: 'btn btn-primary btn-large' do %>
    <%%= icon('plus') %> New
  <%% end %>
</div>
{'fraction_non_alphanumeric': 0.20522217132386625, 'fraction_numerical': 0.004122766834631242, 'mean_word_length': 2.076056338028169, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3618433', 'n_tokens_mistral': 759, 'n_tokens_neox': 696, 'n_words': 148}