Sha256: d7aebe2aeca1eda446bfff7785e88e09fc4395259ef8fe8adc217e53a6275082

Contents?: true

Size: 426 Bytes

Versions: 34

Compression:

Stored size: 426 Bytes

Contents

require "timber/integration"
require "timber/integrations/active_record/log_subscriber"

module Timber
  module Integrations
    # Module for holding *all* ActiveRecord integrations. See {Integration} for
    # configuration details for all integrations.
    module ActiveRecord
      extend Integration

      def self.integrate!
        return false if !enabled?

        LogSubscriber.integrate!
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
timber-2.1.7 lib/timber/integrations/active_record.rb
timber-2.1.6 lib/timber/integrations/active_record.rb
timber-2.1.5 lib/timber/integrations/active_record.rb
timber-2.1.4 lib/timber/integrations/active_record.rb
timber-2.1.3 lib/timber/integrations/active_record.rb
timber-2.1.2 lib/timber/integrations/active_record.rb
timber-2.1.1 lib/timber/integrations/active_record.rb
timber-2.1.0 lib/timber/integrations/active_record.rb
timber-2.1.0.rc6 lib/timber/integrations/active_record.rb
timber-2.1.0.rc5 lib/timber/integrations/active_record.rb
timber-2.1.0.rc4 lib/timber/integrations/active_record.rb
timber-2.1.0.rc3 lib/timber/integrations/active_record.rb
timber-2.1.0.rc2 lib/timber/integrations/active_record.rb
timber-2.1.0.rc1 lib/timber/integrations/active_record.rb