Sha256: e3a7ae89b871853a053f0b53d63b7ff39b10863080eec6a8e5ee919b22eb9e5d

Contents?: true

Size: 338 Bytes

Versions: 16

Compression:

Stored size: 338 Bytes

Contents

require 'active_support'
require 'active_record'
require 'dsl/data_type'
require 'migrant/schema'
require 'migrant/model_extensions'
require 'migrant/migration_generator'

module Migrant
  require 'railtie' if defined?(Rails)
  
  ActiveSupport.on_load :active_record do
    ActiveRecord::Base.extend(Migrant::ModelExtensions)
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
migrant-2.0.0 lib/migrant.rb
migrant-2.0.0.pre lib/migrant.rb
migrant-1.5.0 lib/migrant.rb
migrant-1.4.3 lib/migrant.rb
migrant-1.4.1 lib/migrant.rb
migrant-1.4.0 lib/migrant.rb
migrant-1.3.2 lib/migrant.rb
migrant-1.3.1 lib/migrant.rb
migrant-1.3.0 lib/migrant.rb
migrant-1.2.8 lib/migrant.rb
migrant-1.2.7 lib/migrant.rb
migrant-1.2.5 lib/migrant.rb
migrant-1.2.2 lib/migrant.rb
migrant-1.2.1 lib/migrant.rb
migrant-1.2.0 lib/migrant.rb
migrant-1.1.2 lib/migrant.rb