<commit_before>module Rails
  module Concerns
    class Railtie < Rails::Railtie
      initializer "concerns.autoload", before: :set_autoload_paths do |app|
        concerns_root = File.dirname __FILE__
        app.config.autoload_paths << File.join(concerns_root, "models")
        app.config.autoload_paths << File.join(concerns_root, "mailers")<commit_msg>fix autoloading for Rails 5<commit_after>module Rails
  module Concerns
    class Railtie < Rails::Railtie
      initializer "concerns.autoload", before: :set_autoload_paths do |app|
        models_path = File.join File.dirname(__FILE__), "models"
        mailers_path = File.join File.dirname(__FILE__), "mailers"
        app.config.autoload_paths += [models_path, mailers_path]
{'fraction_non_alphanumeric': 0.0989159891598916, 'fraction_numerical': 0.0013550135501355014, 'mean_word_length': 4.131944444444445, 'pattern_counts': {'":': 0, '<': 9, '<?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': '3718834', 'n_tokens_mistral': 253, 'n_tokens_neox': 240, 'n_words': 49}