diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-09-06 03:38:11 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-09-06 03:38:11 +0000 |
commit | 83313fccc04f659b766a8f5e8bcf4a5cb67a8b2a (patch) | |
tree | bd0914f470b7575025441d5ab571c82a2459234e /actionpack/lib | |
parent | 8c9ce617c9989c74209235f68ba4497b905234fd (diff) | |
download | rails-83313fccc04f659b766a8f5e8bcf4a5cb67a8b2a.tar.gz rails-83313fccc04f659b766a8f5e8bcf4a5cb67a8b2a.tar.bz2 rails-83313fccc04f659b766a8f5e8bcf4a5cb67a8b2a.zip |
Backed out of locals hash as it caused trouble with Builder, see ticket for more
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index d8e4f80e99..f3e2347d45 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -456,7 +456,7 @@ module ActionView #:nodoc: locals_keys = @@template_args[render_symbol].keys | locals @@template_args[render_symbol] = locals_keys.inject({}) { |h, k| h[k] = true; h } - locals_code = "locals = local_assigns.with_indifferent_access\n" + locals_code = "" locals_keys.each do |key| locals_code << "#{key} = local_assigns[:#{key}] if local_assigns.has_key?(:#{key})\n" end |