<commit_before>	<h1><%= "People You're Keeping in Touch With:" %></h1>
	<% @user.friends.select(:id, :name).where(close_friend: true).each do |friend| %>
		<div id="close_friend_<%= friend.id %>", class="friend">
		<h5><%= friend.name %></h5>
			<!--Form for Adding to Close Friends -->
				<%= form_for friend, remote: true do |f| %>
					<%= f.hidden_field :close_friend, :value=> false %>
					<%= f.submit "Remove from Close Friends" %>
				<% end %>
				<%= link_to "Edit Friend", "", class: "edit-friend-button" %> | <%= link_to 'Remove', friend, method: :delete, class: "delete-button", data: { confirm: 'Are you sure you want to delete this friend??' } %>
			<div class= "edit_friend_form">
			<%= render partial: "edit_friend_form", locals: {friend: friend} %>
			</div>  
		</div>
	<% end %><commit_msg>fixes the arel select statement to include info needed for edit form<commit_after>	<h1><%= "People You're Keeping in Touch With:" %></h1>
	<% @user.friends.select(:id, :name, :phone_number, :email).where(close_friend: true).each do |friend| %>
		<div id="close_friend_<%= friend.id %>", class="friend">
		<h5><%= friend.name %></h5>
			<!--Form for Adding to Close Friends -->
				<%= form_for friend, remote: true do |f| %>
					<%= f.hidden_field :close_friend, :value=> false %>
					<%= f.submit "Remove from Close Friends" %>
				<% end %>
				<%= link_to "Edit Friend", "", class: "edit-friend-button" %> | <%= link_to 'Remove', friend, method: :delete, class: "delete-button", data: { confirm: 'Are you sure you want to delete this friend??' } %>
			<div class= "edit_friend_form">
			<p>
				<%= form_for(friend) do |f| %>
				<%= f.label :name %>
				<%= f.text_field :name %>
				<%= f.label :phone_number %>
				<%= f.phone_field :phone_number %>
				<%= f.label :email %>
				<%= f.text_field :email %>
				<%= f.hidden_field :user_id, :value => current_user.id %>	
				<%= f.submit "Edit Friend" %>
				<% end %>
				</p>
			</div>  
		</div>
	<% end %>
{'fraction_non_alphanumeric': 0.20869125821121778, 'fraction_numerical': 0.00404244567963618, 'mean_word_length': 3.5517241379310347, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 0, '>': 59, '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': '969458', 'n_tokens_mistral': 838, 'n_tokens_neox': 679, 'n_words': 188}