method

migration_template

Importance_1
v2.1.0 - Show latest stable - 0 notes - Class: Rails::Generator::Commands::Destroy
migration_template(relative_source, relative_destination, template_options = {}) public

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

Show source
Register or log in to add new notes.