<commit_before><% if field.url_only? -%>
<%= link_to field.expiring_url, field.expiring_url if field.url.present? %>
<% else -%>
<%= link_to field.attribute, field.expiring_url, {:class => "media"} if field.url.present? %>
<% end -%><commit_msg>setting download action for paperclip field<commit_after><% if field.url_only? -%>
<%= link_to field.expiring_url, field.expiring_url if field.url.present? %>
<% else -%>
<%= link_to field.attribute, field.expiring_url, {:class => "media"} if field.url.present? %>
<%= link_to "Download", field.expiring_url, {:download => field.attribute, :class => "btn btn-default"} %>
<% end -%>
{'fraction_non_alphanumeric': 0.19617224880382775, 'fraction_numerical': 0.0, 'mean_word_length': 5.474226804123711, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '239132', 'n_tokens_mistral': 234, 'n_tokens_neox': 216, 'n_words': 47}