Sha256: 875240e2779ad575edd261d93c5876774097328565b6e966fd9c9743e4701e1b
Contents?: true
Size: 421 Bytes
Versions: 6
Compression:
Stored size: 421 Bytes
Contents
module Journaled class Engine < ::Rails::Engine config.after_initialize do ActiveSupport.on_load(:active_job) do Journaled.detect_queue_adapter! unless Journaled.development_or_test? end ActiveSupport.on_load(:active_record) do require 'journaled/transaction_ext' ActiveRecord::ConnectionAdapters::Transaction.prepend Journaled::TransactionExt end end end end
Version data entries
6 entries across 6 versions & 1 rubygems