I have a project with +2600 routes, the error page takes almost 2 seconds to load because it renders the _route partial +2600 times (sums up almost 1.5 seconds of the total time) and most of the time the table is not really needed if you are familiar with the code.
An option to disable the routes table will be greate to improve speed of development for those like me that doesn’t really need that table.
I would be happy to add that option myself, but I don’t know where to put it, I only know that, with that config value, I have to add a check in rails/actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb:19
<% if confg.render_routes_table and @routes_inspector %>
Any advise on it? any reason not to do it? thanks!