paint-brush
Get Unused Routes of Large Rails App 🛠by@rishipithadiya
2,434 reads
2,434 reads

Get Unused Routes of Large Rails App 🛠

by Rishi Pithadiya2mOctober 15th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Rishi Pithadiya

Rishi Pithadiya

@rishipithadiya

Senior Technical Lead(Ruby on Rails) at Sell.do ⚡️

Learn More
LEARN MORE ABOUT @RISHIPITHADIYA'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Rishi Pithadiya HackerNoon profile picture
Rishi Pithadiya@rishipithadiya
Senior Technical Lead(Ruby on Rails) at Sell.do ⚡️

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Aryan
Gambala
Tefter
Rubyonrails
Rubyonrails
Coffee-web
Learnrepo