rails/rails — pull request #17002 by lankz (2014-09-22 12:12:13+00:00)
Title: Don't use relative path for create table migration template

Fixes #16507

The model generator re-purposed the create table migration template from the
migration generator, but accessed it relatively instead of adding a
source_path.

This meant the template couldn't be customised by adding it under
lib/templates/active_record/migration/create_table_migration.rb in a Rails
application