Forum: Ruby on Rails how to rename the controller classes?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8179d44ee02478f1abb70e44185ed9e0?d=identicon&s=25 taku (Guest)
on 2006-01-19 10:16
Hi all,

I want to rename a controller class that is created by script/generate
controller A

then I thought this name should be B.

So I dont want to change all files manually.

What the easy way to change the class name?

I want use like this
>script/rename controller A B

Thank you
This topic is locked and can not be replied to.