Save 36% for Black Friday! Learn more

Want more GoRails?

GoRails is packed full with 721 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Unused Rails Routes Command

September 25, 2023

Track your progress

Sign in to track your progress and access subscription-only lessons.

Log In

Your Teacher

Collin Jilbert

Ruby on Rails Developer | Lover of Music | Skateboarder | Proud Papa | Co-editor @therubyradar | Launched @fleur_de_ruby

About This Episode

In this lesson, we will look at a new option coming to the rails routes command in Rails 7.1 which will display a list of any routes deemed as unused in your Rails application. Let's see what qualifies a route as unused and learn some other handy tips!

Notes

The source code for what determines a route to be unused can be found here

Want to stay up-to-date with Ruby on Rails?

Join 87,110+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.