Topic: Rails Generator Tutorial

This is a fairly old, well documented topic, but at the risk of repeating some stuff again I wrote another tutorial about how to write a Rails generator… it turned out to be a lot harder than I expected and maybe some of this info will help you if you ever need to write a generator. … -generator
Rails generator basics: a skeleton generator class, manifest method, and using ERB to generate code. … est-action
Digging a bit deeper into how generators actually work, and writing a custom manifest action.