Ruby On Rails Redirect_To. You can also redirect all unknown routes to a given path: Render displays the view without taking any action.

If you redirect_to, then render a flash message, that’s good; The site’s hosted on windows running iis here’s his rationale: How to interpret the code in config/routes.rb.