diff options
-rw-r--r-- | actionpack/lib/action_view/dependency_tracker.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/dependency_tracker.rb b/actionpack/lib/action_view/dependency_tracker.rb index 946a8f0fd1..3478e34fe3 100644 --- a/actionpack/lib/action_view/dependency_tracker.rb +++ b/actionpack/lib/action_view/dependency_tracker.rb @@ -1,6 +1,8 @@ +require 'thread_safe' + module ActionView class DependencyTracker - @trackers = Hash.new + @trackers = ThreadSafe::Cache.new def self.find_dependencies(name, template) handler = template.handler |