When we use the command rails g scaffold Post title content
it will generate many files according to some templates located inside railties.
There is even a command that we can copy all templates to our application:
rake app:templates:copy
But there is one template that isn't replaced by it's counterpart inside \lib'. That's
scaffold_controller/controller.rb.tt`. I'm trying to search how can I replace this with no luck so far.
So that's my question. How can I change the template that writes the controller when we are scaffolding?