From 50a51e956be96a95771b9de06a9e43d7509f8976 Mon Sep 17 00:00:00 2001
From: Vipul A M <vipulnsward@gmail.com>
Date: Wed, 15 May 2013 10:34:41 +0530
Subject: change to destructive `deep_symbolize_keys` after
 https://github.com/rails/rails/commit/df24b8790f22384a068fece7042f04ffd2fcb33e
 which allows to do so. This helps to avoid extra hash object creation, by
 symbolizing inplace

---
 activesupport/lib/active_support/hash_with_indifferent_access.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'activesupport')

diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb
index 9a9ed02bd9..788e8cdbdb 100644
--- a/activesupport/lib/active_support/hash_with_indifferent_access.rb
+++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb
@@ -224,7 +224,7 @@ module ActiveSupport
     undef :symbolize_keys!
     undef :deep_symbolize_keys!
     def symbolize_keys; to_hash.symbolize_keys! end
-    def deep_symbolize_keys; to_hash.deep_symbolize_keys end
+    def deep_symbolize_keys; to_hash.deep_symbolize_keys! end
     def to_options!; self end
 
     # Convert to a regular hash with string keys.
-- 
cgit v1.2.3