Sha256: f437566d750a86dfe086b3deb19ce092e987b3df2a4be06de6f7fecf010cdbf0

Contents?: true

Size: 309 Bytes

Versions: 2

Compression:

Stored size: 309 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fresh_connection-2.4.4 lib/fresh_connection/railtie.rb
fresh_connection-2.4.3 lib/fresh_connection/railtie.rb