Rails: renaming a controller and corresponding model

前端 未结 5 948
南笙
南笙 2021-01-21 07:27

Is there an easy way to rename a controller and model in my app and all the instances in the corresponding code?

I\'m using textmate, would this be as simple as using t

5条回答
  •  轮回少年
    2021-01-21 08:01

    If you are using textmate, use 'command-shift-f" to look for a string throughout your entire project.

提交回复
热议问题