<commit_before>Skyderby.helpers.ProfileSelect(
  $('select[name="query[profile_id]"]'),
  { placeholder: "<%= I18n.t('tracks.index.filter_by_pilot') %>" }
);

Skyderby.helpers.SuitSelect(
  $('select[name="query[suit_id]"]'),
  { placeholder: "<%= I18n.t('tracks.index.filter_by_suit') %>" }
);

Skyderby.helpers.PlaceSelect(
  $('select[name="query[place_id]"]'),
  { placeholder: "<%= I18n.t('tracks.index.filter_by_place') %>" }
);
<commit_msg>fix turbolinks and select2 issue on tracks#index<commit_after>Skyderby.helpers.ProfileSelect(
  $('select[name="query[profile_id]"]'),
  { placeholder: "<%= I18n.t('tracks.index.filter_by_pilot') %>" }
);

Skyderby.helpers.SuitSelect(
  $('select[name="query[suit_id]"]'),
  { placeholder: "<%= I18n.t('tracks.index.filter_by_suit') %>" }
);

Skyderby.helpers.PlaceSelect(
  $('select[name="query[place_id]"]'),
  { placeholder: "<%= I18n.t('tracks.index.filter_by_place') %>" }
);

$(document).on('turbolinks:before-cache', function() {
  $('select[name="query[profile_id]"]').select2('destroy');
  $('select[name="query[suit_id]"]').select2('destroy');
  $('select[name="query[place_id]"]').select2('destroy');
});

{'fraction_non_alphanumeric': 0.24656357388316152, 'fraction_numerical': 0.013745704467353952, 'mean_word_length': 7.442028985507246, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1552156', 'n_tokens_mistral': 470, 'n_tokens_neox': 449, 'n_words': 35}