From fe6e9c213d24e97e49cdb1aefd685f7ab37e2581 Mon Sep 17 00:00:00 2001 From: Jatinder Singh Date: Sun, 9 Aug 2009 00:08:35 -0700 Subject: [PATCH] Partials collection shorthand tests fixed which started failing after a fix for Ruby 1.9 compat --- actionpack/lib/action_view/render/partials.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/actionpack/lib/action_view/render/partials.rb b/actionpack/lib/action_view/render/partials.rb index 440836b..3023132 100644 --- a/actionpack/lib/action_view/render/partials.rb +++ b/actionpack/lib/action_view/render/partials.rb @@ -233,7 +233,7 @@ module ActionView index = 0 collection.map do |object| - @object, @path = object, partial_path + @object, @path = object, partial_path(object) template = passed_template || find @locals[template.counter_name] = index index += 1 -- 1.6.1.3