I started a Rails app and everything works fine. But now, I would like to rename a controller and the associated model:
I wanted to change the Corps controller to Stores and the same (without final s) for the model.
Looking on google, people suggested to destroy and then generate again the controller and model. The problem is that it will erase the actual code of each files!
Any solution? Thanks in advance.