mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8dc784292b
This commit eagerly builds the route helper module after the routes have been drawn and finalized. This allows us to cache the helper module but not have to worry about people accessing the module while route definition is "in-flight", and automatically deals with cache invalidation as the module is regenerated anytime someone redraws the routes. The restriction this commit introduces is that the url helper module can only be accessed *after* the routes are done being drawn. Refs #24554 and #32892 |
||
---|---|---|
.. | ||
response.rb | ||
routing.rb |