Get Unused Routes of Large Rails App 🛠by@rishipithadiya
2,271 reads

Get Unused Routes of Large Rails App 🛠

tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

After a few years of continuous development, your rails application becomes larger and it’s good practice to do some cleanup. One of the most obvious cleanups is cleaning up unused routes that are not needed. Getting unused routes for your rails app is to copy above code in your rails console or you can paste it in single file in the root directory of your application and run it using the following command - get-unused-routes-rb. Using the small ruby script we’re able to get all unused routes of our large rails application, we don’t use any Gem/Plugin to achieve this.

Company Mentioned

Mention Thumbnail
featured image - Get Unused Routes of Large Rails App 🛠
Rishi Pithadiya HackerNoon profile picture

@rishipithadiya

Rishi Pithadiya

Learn More
LEARN MORE ABOUT @RISHIPITHADIYA'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa