I'm cleaning a rails application and I have to delete a lot of files. I try to destroy scaffolds with "rails destroy scaffold x" The console output seems to remove a lot of files, but actually it doesn't.
I don't know if "rails g scaffold" was used to generate all, so my questions is: is posible to use "rails destroy scaffold" if "rails g scaffold" was not used to create that files?
I discover that destroy scaffold, only generetes paths to remove files, for example:
rails d scaffold my_directory/something
That generetes the next output in console:
That generates some paths where the files should be, and try to delete that files if exist, don't mind if you create that files with scaffold or manually. But if that some files doesn't exist it only skip that files without advise in console output
In my app that files wasn't create in the correct directory so rails d scaffold can't remove it