method

migration_template

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

When creating a migration, it knows to find the first available file in db/migrate and use the migration.rb template.

Show source
Register or log in to add new notes.