From 9d87a67590c05114d88eccd6a856d2f054860cdb Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 13 Dec 2011 11:25:03 -0800 Subject: stop freezing the details hash --- actionpack/lib/action_view/lookup_context.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'actionpack/lib/action_view') 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 -- cgit v1.2.3