How do I override Rails's default migration generator to add a small piece of functionality?

114 Views Asked by At

I'd like to include one line of code by default in all migrations I create. (Actually, just a comment to disable a certain Rubocop check).

Can I use inheritance to achieve this without re-implementing the functionality of the default rails g migration?

0

There are 0 best solutions below