<commit_before>h1 Listing <%= plural_table_name %>

table
  tr
<% attributes.each do |attribute| -%>
    th <%= attribute.human_name %>
<% end -%>
    th
    th
    th

  - @<%= plural_table_name %>.each do |<%= singular_table_name %>|
    tr
<% attributes.each do |attribute| -%>
      td = <%= singular_table_name %>.<%= attribute.name %>
<% end -%>
      td = link_to 'Show', <%= singular_table_name %>
      td = link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>)
      td = link_to 'Destroy', <%= singular_table_name %>, :confirm => 'Are you sure?', :method => :delete

br

= link_to 'New <%= human_name %>', new_<%= singular_table_name %>_path<commit_msg>fixing the rails' confirm option deprecation warning<commit_after>h1 Listing <%= plural_table_name %>

table
  tr
<% attributes.each do |attribute| -%>
    th <%= attribute.human_name %>
<% end -%>
    th
    th
    th

  - @<%= plural_table_name %>.each do |<%= singular_table_name %>|
    tr
<% attributes.each do |attribute| -%>
      td = <%= singular_table_name %>.<%= attribute.name %>
<% end -%>
      td = link_to 'Show', <%= singular_table_name %>
      td = link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>)
      td = link_to 'Destroy', <%= singular_table_name %>, data: {:confirm => 'Are you sure?'}, :method => :delete

br

= link_to 'New <%= human_name %>', new_<%= singular_table_name %>_path
{'fraction_non_alphanumeric': 0.1819454163750875, 'fraction_numerical': 0.0013995801259622112, 'mean_word_length': 3.673202614379085, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 39, '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': '7655849', 'n_tokens_mistral': 547, 'n_tokens_neox': 481, 'n_words': 114}