From 3c74e83c4f5728373196abca0ff9b3056503125a Mon Sep 17 00:00:00 2001 From: Greg Bell Date: Wed, 13 Jun 2012 09:35:41 -0700 Subject: [PATCH] Change symbolize_keys! to symbolize_keys in the context --- lib/arbre/context.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/arbre/context.rb b/lib/arbre/context.rb index 2fbbc739..f8f889b7 100644 --- a/lib/arbre/context.rb +++ b/lib/arbre/context.rb @@ -4,8 +4,9 @@ module Arbre class Context < Element def initialize(assigns = {}, helpers = nil, &block) - @_assigns = assigns || {} - @_assigns.symbolize_keys! + assigns = assigns || {} + @_assigns = assigns.symbolize_keys + @_helpers = helpers @_current_arbre_element_buffer = [self]