How to get route information for your Rails app - Lessons Learned 3

We can get the route information in 2 ways.

1. From the terminal, run following command from the project home folder.

$rake routes

2. Form the browser, go to path rails/info/routes


Reading from the browser is convenient if you are developing on Windows machine and grep command is not available.