Something nice would be a script/rename or script/refactor which would
allow for easy renaming of some model/view/controller or combination,
including a db migration if necessary. One does not always start out
with a complete understanding of the domain or with the greatest Rails
purity and often it is desirable to go back and rename something.
Maybe it does not even count as refactoring. I loved how IDEA handled
all that stuff like magic back in the day. Change a class name in one
place, and it would change everywhere it is used and rename files as
necessary.
I think this could be done in a script/ – at least for major renames –
so that everyone could benefit, not just those using a particular
editor.
Is anyone else thinking along these lines? Is this something worth
working on?
Steven