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 
<https://github.com/rails/rails/tree/52ce6ece8c8f74064bb64e0a0b1ddd83092718e1>
/actionpack 
<https://github.com/rails/rails/tree/52ce6ece8c8f74064bb64e0a0b1ddd83092718e1/actionpack>
/lib 
<https://github.com/rails/rails/tree/52ce6ece8c8f74064bb64e0a0b1ddd83092718e1/actionpack/lib>
/action_dispatch 
<https://github.com/rails/rails/tree/52ce6ece8c8f74064bb64e0a0b1ddd83092718e1/actionpack/lib/action_dispatch>
/middleware 
<https://github.com/rails/rails/tree/52ce6ece8c8f74064bb64e0a0b1ddd83092718e1/actionpack/lib/action_dispatch/middleware>
/templates 
<https://github.com/rails/rails/tree/52ce6ece8c8f74064bb64e0a0b1ddd83092718e1/actionpack/lib/action_dispatch/middleware/templates>
/rescues 
<https://github.com/rails/rails/tree/52ce6ece8c8f74064bb64e0a0b1ddd83092718e1/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!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to