With Rails 7.1, you can list unused routes with: ./bin/rails routes --unused For Rails 6.0, 6.1 and 7.0, below is a script I used in my project to find out unused routes. Apparently, I barrow it from ShakaCode. Thanks to them. In conjunction with th...

Markdown supported · ⌘↵ to post
No responses yet.