Sha256: b2bd8635533cdeb890a269d0f41bcb5b1d3f35e6cc5762ff86e7682ee90a0d88

Contents?: true

Size: 399 Bytes

Versions: 11

Compression:

Stored size: 399 Bytes

Contents

require 'active_support'
#require 'active_support/core_ext/class/attribute_accessors'
require 'active_record'
require 'datatype/base'
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

11 entries across 11 versions & 1 rubygems

Version Path
migrant-0.2.4 lib/migrant.rb
migrant-0.2.3 lib/migrant.rb
migrant-0.2.2 lib/migrant.rb
migrant-0.2.1 lib/migrant.rb
migrant-0.2.0 lib/migrant.rb
migrant-0.1.5 lib/migrant.rb
migrant-0.1.4 lib/migrant.rb
migrant-0.1.3 lib/migrant.rb
migrant-0.1.2 lib/migrant.rb
migrant-0.1.1 lib/migrant.rb
migrant-0.1.0 lib/migrant.rb