How to rename the controller classes?

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs