[Rails] Renaming controllers/views/models

Mickael Faivre-Macon
2006-05-17T19:01:13Z

Hi,

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 ?

Mickael.


On 5/11/06, Ryan Prins <rprins@gmail.com> wrote:
> Following up on this, does this delete the associated tests as well and
> other items that are created when you do script/generate controller
> myController?
>
> Also, it would be nice to have a script/rename controller OrigName NewName
>
> I know I''ve screwed up more than once naming my stuff the Rails
way ;)