Have you ever started writing an application to notice there is a typo in the controller name, or you want to name it something else without rewriting your code?
You could change your routes as so;
map.resources :tasks, :controller => "tasks"
But that’s messy. I’ve written a short sake task to rename all your files to the correct new name. It is your job however to rename the class/module titles. If you use testing, as you should, run the tests and you can catch most errors.
Install it,
sudo gem install sake
sake -i rename.sake
Then use it
sake rename:controller FROM=todo TO=tasks
The model task is causing a lot more troubles. So for that I will wait till I create a script/rename



