<commit_before><div class="row">
  <div class="col-md-6 col-md-4">
  <div class = minions>
    <% @carted_product.each do |carted_product| if carted_product.user_id == current_user.id && carted_product.status == "carted" %>
    <h2><%= @products.find_by(id: carted_product.product_id).product.name %></h2>
    <h3>Price: <%= product.price %> Bananas</h3>
    <%= image_tag product.product_images.first.image_url if product.product_images.first %>
    <p><%= product.description %></p>
    <% end %>
  </div>
  </div>
</div><commit_msg>have carted_products index display what has been placed in cart<commit_after><div class="row">
  <div class="col-md-6 col-md-4">
    <div class = minions>
      <% @carted_product.each do |carted_product| %>
        <% if carted_product.user_id == current_user.id && carted_product.status == "carted" %>
      <% end %>
      <h2><%= @products.find_by(id: carted_product.product_id).name %></h2>
      <h3>Price: <%= @products.find_by(id: carted_product.product_id).price %> Bananas</h3>
      <h4>Quantity: <%= carted_product.quantity %></h4>
      <% if @products.find_by(id: carted_product.product_id).product_images.first %>
        <%= image_tag @products.find_by(id: carted_product.product_id).product_images.first.image_url %>
      <% end %>
      <p><%= @products.find_by(id: carted_product.product_id).description %></p>
      <% end %>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.1825284090909091, 'fraction_numerical': 0.009943181818181818, 'mean_word_length': 3.8419243986254297, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 46, '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': '3818881', 'n_tokens_mistral': 536, 'n_tokens_neox': 501, 'n_words': 85}