Hi,
I have a rails application in which I implemented some feature. Now I want to remove that feature without breaking the code. Since the application is running on the production server, this makes it a little bit critical. How do I do the following.
- remove all the tables from the database concerned with this functionality?
- remove the controllers, models and view files?
- correct the other controllers and views which are related with this functionality?
The first one can be achieved by generating migrations which produce reverse result to that of which try to create the tables related to this functionality. How should I proceed towards the code removal? I am using git
as my source code manager.