Last Updated: February 25, 2016
·
8.031K
· Sıtkı Bağdat

Finding Routes in Rails 4

Rails 4.0.0 final version is bundled with a fresh gem called as Sextant. Sextant gives us another way instead of using rake routes. Too see all available routes in Rails 4: run rails server then use the url shown below:

http://localhost/your_app_name/rails/info/routes

This url shows your application's available helpers, http verbs, paths and actions like as rake command.

Besides that, it will appear any Routing Error messages in your browser as well.

Bonus: Also you can see your application's properties using this url:

http://localhost/your_app_name/rails/info/properties