Search code examples
ruby-on-railsrubyscaffold

Rails Scaffold Not Working Properly


When I use scaffold to generate it works in terminal but when you see in code editor there are no files created I have already destroyed and created but that also doesn't work.


Solution

  • it not just an editor issue which is VScode so what I have done to solve is if you run the scaffold again if it says identical and not showing in code editor/ window explorer or finder first quit everything and restart your computer and if you check your editor you may still not see any file then run the scaffold generator again at this time it will say it is created and you can see everything in editor.