We've had trouble finding our paths for templates before. Here's a good StackOverflow on the topic:
https://stackoverflow.com/a/37701125
To use this in practice, edit vendor/bundle/ruby/2.4.0/gems/thor-0.20.0/lib/thor/actions.rb
to dump source_paths
and file
:
Example for table migration:
{{project}}/lib/templates/active_record/model
../../migration/templates/create_table_migration.rb