Sha256: ce1570e4966ed7ae77e495b54fa044a4251deaca5afb7345b3f74a89bcc4dc02

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module SaferMigrations
    class Railtie < Rails::Railtie
      initializer "active_record_safer_migrations.load_adapter" do
        ActiveSupport.on_load :active_record do
          ActiveRecord::SaferMigrations.load
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-safer_migrations-4.0.0 lib/active_record/safer_migrations/railtie.rb
activerecord-safer_migrations-3.0.0 lib/active_record/safer_migrations/railtie.rb