Update to Rails 2.3.8

This commit is contained in:
Jacques Distler 2010-05-25 12:45:45 -05:00
parent 6677b46cb4
commit f0635301aa
429 changed files with 17683 additions and 4047 deletions

View file

@ -218,10 +218,11 @@ module ActionView
ActionController::RecordIdentifier.partial_path(object, controller.class.controller_path)
template = _pick_partial_template(_partial_path)
local_assigns[template.counter_name] = index
local_assigns["#{as.to_s}_counter".to_sym] = local_assigns[template.counter_name] if as
result = template.render_partial(self, object, local_assigns.dup, as)
index += 1
result
end.join(spacer).html_safe!
end.join(spacer).html_safe
end
def _pick_partial_template(partial_path) #:nodoc: