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.6.2 lib/timber/integrations/active_record.rb
timber-2.6.1 lib/timber/integrations/active_record.rb
timber-2.6.0 lib/timber/integrations/active_record.rb
timber-2.6.0.pre.beta2 lib/timber/integrations/active_record.rb
timber-2.6.0.pre.beta1 lib/timber/integrations/active_record.rb
timber-2.5.1 lib/timber/integrations/active_record.rb
timber-2.5.0 lib/timber/integrations/active_record.rb
timber-2.4.0 lib/timber/integrations/active_record.rb
timber-2.3.4 lib/timber/integrations/active_record.rb
timber-2.3.3 lib/timber/integrations/active_record.rb
timber-2.3.2 lib/timber/integrations/active_record.rb
timber-2.3.1 lib/timber/integrations/active_record.rb
timber-2.3.0 lib/timber/integrations/active_record.rb
timber-2.2.3 lib/timber/integrations/active_record.rb
timber-2.2.2 lib/timber/integrations/active_record.rb
timber-2.2.1 lib/timber/integrations/active_record.rb
timber-2.2.0 lib/timber/integrations/active_record.rb
timber-2.1.10 lib/timber/integrations/active_record.rb
timber-2.1.9 lib/timber/integrations/active_record.rb
timber-2.1.8 lib/timber/integrations/active_record.rb