<commit_before>module TabsHelper

  def tab_link_to(model_or_name, link, current=nil)
    model_or_name = model_or_name.model_name.human.capitalize.pluralize if Class === model_or_name
    current ||= request.path.start_with?(link)
    link_to model_or_name, link, :class => ("current" if current)
  end

end<commit_msg>Use yml for plural model name<commit_after>module TabsHelper

  def tab_link_to(model_or_name, link, current=nil)
    model_or_name = model_or_name.model_name.human(:count => 2).capitalize if Class === model_or_name
    current ||= request.path.start_with?(link)
    link_to model_or_name, link, :class => ("current" if current)
  end

end
{'fraction_non_alphanumeric': 0.1062215477996965, 'fraction_numerical': 0.0015174506828528073, 'mean_word_length': 5.285714285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '3919012', 'n_tokens_mistral': 232, 'n_tokens_neox': 228, 'n_words': 49}