method
migration_template
v2.2.1 -
Show latest stable
- Class:
Rails::Generator::Commands::List
migration_template(relative_source, relative_destination, options = {})public
No documentation available.
# File railties/lib/rails_generator/commands.rb, line 568
def migration_template(relative_source, relative_destination, options = {})
migration_directory relative_destination
logger.migration_template file_name
end