Sha256: 4b931e1cd7dc4949bb79f7c68b8756b46ffc806fbeb0cd19d5f84d04f54b94b4

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

# frozen_string_literal: true

module PaperTrailAssociationTracking
  class Railtie < ::Rails::Railtie

    initializer "paper_trail_association_tracking", after: "paper_trail" do
      ActiveSupport.on_load(:active_record) do
        require "paper_trail_association_tracking/frameworks/active_record"
      end
    end

    config.to_prepare do
      ::PaperTrail::Version.include(::PaperTrailAssociationTracking::VersionConcern)
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
paper_trail-association_tracking-2.2.1 lib/paper_trail_association_tracking/frameworks/rails/railtie.rb
paper_trail-association_tracking-2.2.0 lib/paper_trail_association_tracking/frameworks/rails/railtie.rb