Sha256: cc046158f16363e13a3688f8cd8477300847c70b2f766940618ce5d688eba7aa

Contents?: true

Size: 258 Bytes

Versions: 2

Compression:

Stored size: 258 Bytes

Contents

require 'rails'

module TransactionTimestamps
  class Railtie < Rails::Railtie
    initializer 'transaction_timestamps.initialize' do
      ActiveSupport.on_load(:active_record) do
        include TransactionTimestamps::Timestamp
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
transaction_timestamps-0.2.0 lib/transaction_timestamps/railtie.rb
transaction_timestamps-0.1.0 lib/transaction_timestamps/railtie.rb