Uday's website
Published on Uday's website (https://uday.net)

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

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

Submitted by uday [2] on September 25, 2020 - 3:29pm

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

http://localhost:3000/ [3]rails/info/routes

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

 

Rating: 

 Valid XHTML 1.0 StrictCreative Commons LicenseVerbatim copying and redistribution of this entire page are permitted provided this notice is preserved. All content on this website including archives (including text, photographs, audio files and any other original work), unless otherwise noted, is licensed under a Creative Commons License or later.


Source URL:https://uday.net/How-to-get-route-information-for-your-Rails-app

Links
[1] https://uday.net/How-to-get-route-information-for-your-Rails-app [2] https://uday.net/user/1 [3] http://localhost:3000/