method

set_local_assigns!

rails latest stable - Class: ActiveRecord::Generators::MigrationGenerator
set_local_assigns!()
private

Sets the default migration template that is being used for the generation of the migration. Depending on command line arguments, the migration template and the table name instance variables are set up.