lib/generators/migration/migration_generator.rb in generator-spec-0.6.6 vs lib/generators/migration/migration_generator.rb in generator-spec-0.7.0

- old
+ new

@@ -1,13 +1,13 @@ require 'migration_assist' class MigrationGenerator < Rails::Generators::NamedBase - include Rails::Migration::Assist + include Rails3::Migration::Assist desc "Creates a migration" source_root File.dirname(__FILE__) + '/templates' def create_migration - migration name, 'create_users' + migration(name, 'create_users') end end