Sha256: 58b2666143fc030edf61dff3e4eb57e6698c7577a2fc39e2ebf39c8dc9ea53ac

Contents?: true

Size: 294 Bytes

Versions: 13

Compression:

Stored size: 294 Bytes

Contents

module DatabaseRewinder
  class Railtie < ::Rails::Railtie
    initializer 'database_rewinder', after: 'active_record.initialize_database' do
      ActiveSupport.on_load :active_record do
        DatabaseRewinder.init
        require_relative 'active_record_monkey'
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
database_rewinder-0.6.5 lib/database_rewinder/railtie.rb
database_rewinder-0.6.4 lib/database_rewinder/railtie.rb
database_rewinder-0.6.3 lib/database_rewinder/railtie.rb
database_rewinder-0.6.2 lib/database_rewinder/railtie.rb
database_rewinder-0.6.1 lib/database_rewinder/railtie.rb
database_rewinder-0.6.0 lib/database_rewinder/railtie.rb
database_rewinder-0.5.3 lib/database_rewinder/railtie.rb
database_rewinder-0.5.2 lib/database_rewinder/railtie.rb
database_rewinder-0.5.1 lib/database_rewinder/railtie.rb
database_rewinder-0.4.2 lib/database_rewinder/railtie.rb
database_rewinder-0.4.1 lib/database_rewinder/railtie.rb
database_rewinder-0.4.0 lib/database_rewinder/railtie.rb
database_rewinder-0.3.0 lib/database_rewinder/railtie.rb