diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2013-04-13 23:55:33 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2013-04-13 23:55:33 +0530 |
commit | 130d3a06ade83aec27cf1d2ff841dce9e0ad4dfd (patch) | |
tree | bf282263768a0d05ab50638cc04ea0f39928f8b3 /actionpack | |
parent | 48e9ff75c4a84a3edd0dedf4ec5aa5bc84462401 (diff) | |
parent | e890a69500531d5fcca0ad6617ace044ee62bf93 (diff) | |
download | rails-130d3a06ade83aec27cf1d2ff841dce9e0ad4dfd.tar.gz rails-130d3a06ade83aec27cf1d2ff841dce9e0ad4dfd.tar.bz2 rails-130d3a06ade83aec27cf1d2ff841dce9e0ad4dfd.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/template/resolver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template/resolver.rb b/actionpack/lib/action_view/template/resolver.rb index 6b9b0a826b..3304605c1a 100644 --- a/actionpack/lib/action_view/template/resolver.rb +++ b/actionpack/lib/action_view/template/resolver.rb @@ -47,7 +47,7 @@ module ActionView NAME_BLOCK = lambda {|cache, name| cache[name] = SmallCache.new(&PREFIX_BLOCK)} KEY_BLOCK = lambda {|cache, key| cache[key] = SmallCache.new(&NAME_BLOCK)} - # usually a majority of template look ups return nothing, use this canonical preallocated array to safe memory + # usually a majority of template look ups return nothing, use this canonical preallocated array to save memory NO_TEMPLATES = [].freeze def initialize |