diff --git a/lib/generators/the_moderator/install/install_generator.rb b/lib/generators/the_moderator/install/install_generator.rb index f1cea3f..32fd553 100644 --- a/lib/generators/the_moderator/install/install_generator.rb +++ b/lib/generators/the_moderator/install/install_generator.rb @@ -7,7 +7,7 @@ class TheModerator::InstallGenerator < Rails::Generators::Base template 'moderation.rb', File.join('app', 'models', 'moderation.rb') end - def create_migration + def create_migration_file migration_template 'migration.rb', 'db/migrate/create_moderations.rb' end