Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Thread Safety: Ensure recognize_optimized is immediately written inst…

…ead of lazily
  • Loading branch information...
commit 0f651aec4eb4630945d02571fe542414ef628c5c 1 parent c94ba81
@josh josh authored
View
8 actionpack/lib/action_controller/routing/recognition_optimisation.rb
@@ -153,13 +153,7 @@ def recognize_optimized(path, env)
def clear_recognize_optimized!
remove_recognize_optimized!
-
- class << self
- def recognize_optimized(path, environment)
- write_recognize_optimized!
- recognize_optimized(path, environment)
- end
- end
+ write_recognize_optimized!
end
def remove_recognize_optimized!
Please sign in to comment.
Something went wrong with that request. Please try again.