Sha256: 706ea3716f797d559aaf326554ccf05fb08847fc59225ecada2afbd2664da47a

Contents?: true

Size: 274 Bytes

Versions: 2

Compression:

Stored size: 274 Bytes

Contents

# lib/my_gem/railtie.rb
#require 'migrant'
#require 'rails'

module Migrant
  class Railtie < Rails::Railtie
    rake_tasks do
      load "tasks/db.rake"
    end
    
    generators do
      load "generators/migrations.rb"
      load "generators/model.rb"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
migrant-2.0.0 lib/railtie.rb
migrant-2.0.0.pre lib/railtie.rb