<commit_before>require 'fresh_connection/executor_hook'

module FreshConnection
  class Railtie < Rails::Railtie
    initializer "fresh_connection.configure_rails_initialization" do |app|
      ActiveSupport.on_load(:active_record) do
        FreshConnection::ExecutorHook.install_executor_hooks
      end
    end

    initializer "fresh_connection.initialize_database", after: "active_record.initialize_database" do
      ActiveSupport.on_load(:active_record) do
        ActiveRecord::Base.establish_fresh_connection
      end
    end
  end
end<commit_msg>Removed to connect when intiializing<commit_after>require 'fresh_connection/executor_hook'

module FreshConnection
  class Railtie < Rails::Railtie
    initializer "fresh_connection.configure_rails_initialization" do |app|
      ActiveSupport.on_load(:active_record) do
        FreshConnection::ExecutorHook.install_executor_hooks
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.06229508196721312, 'fraction_numerical': 0.0, 'mean_word_length': 4.7974683544303796, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3928314', 'n_tokens_mistral': 270, 'n_tokens_neox': 253, 'n_words': 49}