Forum: Ruby on Rails Renaming controllers/views/models

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
2f6686bd2c6bb633a1cbf7b5a73c8491?d=identicon&s=25 Mickael Faivre-Macon (micktaiwan)
on 2006-05-17 21:03
(Received via mailing list)

What would be the best way to rename a controller and associated
models/views ?
Do we have to do it by hand ?
Is there a tool that could help us renaming pluralized words too ?

30ee518e6fdc5b07e060775b5a542bdb?d=identicon&s=25 Jón Borgþórsson (jongretar)
on 2006-05-17 21:15
(Received via mailing list)
No real tool for it no.
Guess it would be nice to create a rake task or a generator for it.
Mabey also to check the right pluralization.
It's only renaming one file, one directory and changing the first line
in one file.

On 5/17/06, Mickael Faivre-Macon <> wrote:
> > Following up on this, does this delete the associated tests as well and
This topic is locked and can not be replied to.