<commit_before><% if @recipients %>
  <% @recipients.each do |recipient| %>
    $('<%= "##{Workstation.find(recipient.workstation_id).abrev}.recipient_workstation.on" %>').removeClass('<%= "#{recipient.id}" %>').addClass("off").removeClass("on"); 
  <% end %>
<% end %><commit_msg>fix recipient/destroy view to work with jquery data api instead of the id in the class name<commit_after><% if @recipients %>
  <% @recipients.each do |recipient| %>
    var el = $('<%= "##{Workstation.find(recipient.workstation_id).abrev}.recipient_workstation.on" %>').turnOff().removeData('recipient_id'); 
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.21568627450980393, 'fraction_numerical': 0.0, 'mean_word_length': 5.591397849462366, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '7468242', 'n_tokens_mistral': 229, 'n_tokens_neox': 196, 'n_words': 40}