<commit_before>require_relative "../models/group"

class GroupRepository
  def self.list
    Group.order("LOWER(name)")
  end
end<commit_msg>fix ActiveRecord deprecation warning (#545)<commit_after>require_relative "../models/group"

class GroupRepository
  def self.list
    Group.order(Group.arel_table[:name].lower)
  end
end
{'fraction_non_alphanumeric': 0.11585365853658537, 'fraction_numerical': 0.009146341463414634, 'mean_word_length': 5.2075471698113205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4721877', 'n_tokens_mistral': 105, 'n_tokens_neox': 99, 'n_words': 21}