No documentation

# File actionpack/lib/action_view/renderable_partial.rb, line 27def render_partial(view,object=nil,local_assigns={},as=nil)object||=local_assigns[:object]||local_assigns[variable_name]ifobject.nil?&&view.respond_to?(:controller)ivar="@#{variable_name}""@#{variable_name}"object=ifview.controller.instance_variable_defined?(ivar)ActiveSupport::Deprecation::DeprecatedObjectProxy.new(view.controller.instance_variable_get(ivar),"#{ivar} will no longer be implicitly assigned to #{variable_name}")endend# Ensure correct object is reassigned to other accessorslocal_assigns[:object]=local_assigns[variable_name]=objectlocal_assigns[as]=objectifasrender_template(view,local_assigns)end