aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/railtie.rb
diff options
context:
space:
mode:
authorEvan Phoenix <evan@phx.io>2015-02-19 14:20:56 -0800
committerEvan Phoenix <evan@phx.io>2015-02-19 14:20:56 -0800
commit43dae996457caa520e845e038b5a4aa6297c4a17 (patch)
tree8574589db8c5f04d1c5f4a98b44f06831525da10 /actionpack/lib/action_dispatch/railtie.rb
parentda2987afc9b1a03899304c0ea24a1dec395d39b8 (diff)
downloadrails-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