Sha256: 9f25920aef603ee2d0f1db0fd15d2be5fe4b743b61512a06853cf7c2767c3eff

Contents?: true

Size: 246 Bytes

Versions: 13

Compression:

Stored size: 246 Bytes

Contents

require 'rails/generators/active_record'

class MyMigrationGenerator < ActiveRecord::Generators::Base
  def initialize(args, *options)
    super(["unused"]+args, *options)
  end

  def generate_migration
    migration_template "1", "2"
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
genspec-0.3.2 spec/support/generators/my_migration/my_migration_generator.rb
genspec-0.3.1 spec/support/generators/my_migration/my_migration_generator.rb
genspec-0.3.0 spec/support/generators/my_migration/my_migration_generator.rb
genspec-0.2.8 spec/support/generators/my_migration/my_migration_generator.rb
genspec-0.2.7 spec/support/generators/my_migration/my_migration_generator.rb
genspec-0.2.6 spec/support/generators/my_migration/my_migration_generator.rb
genspec-0.2.5 spec/support/generators/my_migration/my_migration_generator.rb
genspec-0.2.4 spec/support/generators/my_migration/my_migration_generator.rb
genspec-0.2.3 spec/support/generators/my_migration/my_migration_generator.rb
genspec-0.2.2 spec/support/generators/my_migration/my_migration_generator.rb
genspec-0.2.1 spec/support/generators/my_migration/my_migration_generator.rb
genspec-0.2.0 spec/support/generators/my_migration/my_migration_generator.rb
genspec-0.2.0.prerails3.2 spec/support/generators/my_migration/my_migration_generator.rb