Sha256: 9778b470944db2afb1a31b8a0a56f90949af35c165e4b0ca7edf3a9499de66e7

Contents?: true

Size: 280 Bytes

Versions: 3

Compression:

Stored size: 280 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
activerecord-safer_migrations-2.0.0 lib/active_record/safer_migrations/railtie.rb
activerecord-safer_migrations-1.0.0 lib/active_record/safer_migrations/railtie.rb
activerecord-safer_migrations-0.1.0 lib/active_record/safer_migrations/railtie.rb