lib/migration_assist/implementation.rb in migration_assist-0.1.3 vs lib/migration_assist/implementation.rb in migration_assist-0.1.4
- old
+ new
@@ -1,11 +1,10 @@
require 'rails/generators'
require 'rails/generators/migration'
require 'migration_assist/helper/file_name'
-module Rails::Migration::Assist
+module Rails3::Migration::Assist
include Rails::Generators::Migration
- # include Rails::Assist::Migration
include FileNameHelper
def reverse_migration_name name
name.gsub(/^add_/, 'remove_').gsub(/^create_/, 'drop_')
end