Sha256: deb289b30913b9bcf97512ed1d40858023a5a3bb4fe7891578d7bcc9ae269681
Contents?: true
Size: 286 Bytes
Versions: 2
Compression:
Stored size: 286 Bytes
Contents
require 'migration_assist' class MigrationGenerator < Rails::Generators::NamedBase include Rails3::Migration::Assist desc "Creates a migration" source_root File.dirname(__FILE__) + '/templates' def create_migration migration(name, 'create_users') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
generator-spec-0.7.1 | spec/generator_spec/fixtures/generators/migration/migration_generator.rb |
generator-spec-0.7.0 | lib/generators/migration/migration_generator.rb |