diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-13 11:25:03 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-13 11:25:03 -0800 |
commit | 9d87a67590c05114d88eccd6a856d2f054860cdb (patch) | |
tree | d7bdd94cbe54e12947b36f8bdf04844056a74d95 /actionpack | |
parent | 8b85e4a4a1668805f645d75bbed27ecb43491bff (diff) | |
download | rails-9d87a67590c05114d88eccd6a856d2f054860cdb.tar.gz rails-9d87a67590c05114d88eccd6a856d2f054860cdb.tar.bz2 rails-9d87a67590c05114d88eccd6a856d2f054860cdb.zip |
stop freezing the details hash
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/lookup_context.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/lookup_context.rb b/actionpack/lib/action_view/lookup_context.rb index c1686848dd..089d3b1e57 100644 --- a/actionpack/lib/action_view/lookup_context.rb +++ b/actionpack/lib/action_view/lookup_context.rb @@ -56,7 +56,7 @@ module ActionView @details_keys = Hash.new def self.get(details) - @details_keys[details.freeze] ||= new + @details_keys[details] ||= new end def initialize @@ -86,7 +86,6 @@ module ActionView def _set_detail(key, value) @details_key = nil - @details = @details.dup if @details.frozen? @details[key] = value end end |