<commit_before>job = Delayed::Backend::ActiveRecord::Job.all :conditions => ['handler LIKE ?', "%ActivitiesCounterCacheJob%"]
if job.blank?
  Delayed::Backend::ActiveRecord::Job.enqueue(ActivitiesCounterCacheJob.new, -3)
end
<commit_msg>Check if table exists before try to use it in the Rails initializers<commit_after>if Delayed::Backend::ActiveRecord::Job.table_exists?
  job = Delayed::Backend::ActiveRecord::Job.all :conditions => ['handler LIKE ?', "%ActivitiesCounterCacheJob%"]
  if job.blank?
    Delayed::Backend::ActiveRecord::Job.enqueue(ActivitiesCounterCacheJob.new, -3)
  end
end

{'fraction_non_alphanumeric': 0.1414141414141414, 'fraction_numerical': 0.003367003367003367, 'mean_word_length': 7.880597014925373, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7051295', 'n_tokens_mistral': 187, 'n_tokens_neox': 183, 'n_words': 37}