Rename .rb to .rb.tt for templates used in GitLab templates folder
Problem to solve
In the generator folder we have few templates which we are using for migration and post migration.
As it contains the ERB codebase the files are having a .rb
extension instead of .rb.tt
The same is being used by Bundler and also Rails in their project. https://github.com/rails/rails/blob/master/activerecord/lib/rails/generators/active_record/migration/templates/create_table_migration.rb.tt
Intended users
Developer
Proposal
The proposal is to replace the .rb
files within the https://gitlab.com/gitlab-org/gitlab/-/tree/master/generator_templates to .rb.tt
Links / references
Edited by Shreyas Agarwal