Sha256: fec76c2342a43d80472cff84cccbc7351f4747ec1f81d0070137be8dc95928e8

Contents?: true

Size: 274 Bytes

Versions: 1

Compression:

Stored size: 274 Bytes

Contents

class ConductorMigrationGenerator < Rails::Generator::Base
  require 'conductor'
  
  def manifest
    record do |m|
      m.migration_template 'conductor_migration.rb', 'db/migrate', 
        :assigns => {:version => Conductor.MAJOR_VERSION.gsub(".", "")}
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
conductor-0.2.9 generators/conductor_migration/conductor_migration_generator.rb