title: How to rescue page not found 404 in rails?
body: <p>How to rescue page not found if user add wrong url in rails. I hope to show 404 page present in public folder if the url is invalid. How to do that? I was browsing about it but could not find a solution. I tried many ways to fix the problem, but they don't seem to be working. 
  I am stuck here, please help.</p>