diff options
author | Evan Phoenix <evan@phx.io> | 2015-02-19 14:20:56 -0800 |
---|---|---|
committer | Evan Phoenix <evan@phx.io> | 2015-02-19 14:20:56 -0800 |
commit | 43dae996457caa520e845e038b5a4aa6297c4a17 (patch) | |
tree | 8574589db8c5f04d1c5f4a98b44f06831525da10 /actionpack/lib/action_dispatch/railtie.rb | |
parent | da2987afc9b1a03899304c0ea24a1dec395d39b8 (diff) | |
download | rails-43dae996457caa520e845e038b5a4aa6297c4a17.tar.gz rails-43dae996457caa520e845e038b5a4aa6297c4a17.tar.bz2 rails-43dae996457caa520e845e038b5a4aa6297c4a17.zip |
Cache url_helpers instead of creating each time
This has 2 effects:
1. RoutesProxy is CRAZY faster because it's no longer creating a new
Module each time method_missing is hit.
2. It bypasses an existing bug in ruby that makes `class << obj` unsafe
to be used in threading contexts.
Diffstat (limited to 'actionpack/lib/action_dispatch/railtie.rb')
0 files changed, 0 insertions, 0 deletions