No Route Matches hello html rails tutorial

I was following rails tutorial book and found "no route matches" error.
I found funny and simple solution of this problem , just restart your computer and start rails server using "rails s" command in sample_app directory. Its done.


Why rails giving this error?

Because it is taking application root of demo_app instead of sample_app, for that reason we need to restart our rail server. I didn't found simple solution for doing that so restarting computer itself does the trick for me.




No comments:

Post a Comment