method

migration_template

rails latest stable - Class: Rails::Generator::Commands::Destroy

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

migration_template(relative_source, relative_destination, template_options = {})
public

When deleting a migration, it knows to delete every file named "[0-9]*_#{file_name}".