title: Partial rendering not shown
body: <p>Rails 3.0.7, Windows 7, NetBeans 6.9.1, JRuby 1.5.1, Ruby 1.8.7</p>
  
  <p>I have <code>app/views/browsing/index.rhtml</code> with this relevant part, focus on the <code>render</code> call:</p>
  
  <pre><code>&lt;table&gt;
    &lt;tr&gt;
      &lt;th&gt;&lt;em&gt;&lt;%=I18n.t('browsing.actions')%&gt;&lt;/em&gt;&lt;/th&gt;
      &lt;% colnames = @_controller.model_class.column_names %&gt;
      &lt;% colnames.each do |name| %&gt;
      &lt;% render  :partial =&gt; 'browsing/header_field', :locals =&gt; {:name =&gt; name} %&gt;
      &lt;% end %&gt;
    &lt;/tr&gt;
  </code></pre>
  
  <p>And I have <code>app/views/browsing/_header_field.rhtml</code> with the following content:</p>
  
  <pre><code>&lt;% puts "DEBUG: rendering " + name + " field." %&gt;
  &lt;% if @_controller.orderables.include?(name.to_sym) %&gt;
  &lt;%
    otext = ''
    oopts = @_controller.orderings[name];
    if !oopts.nil?
      otext += ' ' + (oopts[:is_asc] ? '↓' : '↑')
      otext += '&lt;span class="small"&gt;'+oopts[:prio].to_s+'&lt;/span&gt;'
    end
  %&gt;
  &lt;th&gt;&lt;%=link_to( name.tr('_',' '), { :controller =&gt; controller_path, :action =&gt; 'index', :o =&gt; name }, {:class =&gt; 'sort'} )%&gt;
  &lt;%=((otext=='' || @_controller.orderings.size&lt;=1) ? raw(otext) : link_to(raw(otext), { :controller =&gt; controller_path, :action =&gt; 'index', :o =&gt; name, :x =&gt; true }, {:class =&gt; 'delete_sort', :title =&gt; I18n.t('browsing.delete_sort')}))%&gt;&lt;/th&gt;
  &lt;% else %&gt;
  &lt;th&gt;&lt;%=name.tr('_',' ')%&gt;&lt;/th&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>The debug-print (first line) is executed properly, I can see it in the output window. I can use the NetBeans IDE to watch the execution of this file line by line, it happens as it is expected</p>
  
  <p>The problem is that the results of this rendering are somehow dropped out on the window, there is nothing (no table header cells) in the final rendered HTML. That is rendered (only relevant part):</p>
  
  <pre><code>&lt;table&gt;
    &lt;tr&gt;
      &lt;th&gt;&lt;em&gt;Actions&lt;/em&gt;&lt;/th&gt;
    &lt;/tr&gt;
  </code></pre>
  
  <p>The output window produces this:</p>
  
  <pre><code>DEBUG: rendering id field.
  DEBUG: rendering inm_device_id field.
  DEBUG: rendering changes_id field.
  
  Started GET "/changes_and_devices" for 127.0.0.1 at Wed Jun 08 11:50:01 +0200 2011
    Processing by ChangesAndDevicesController#index as HTML
    ChangeAndDevice Load (2.0ms)  SELECT `changes_and_devices`.* FROM `changes_and_devices` ORDER BY id desc LIMIT 20 OFFSET 0
    SQL (18.0ms)  SELECT COUNT(*) FROM `changes_and_devices`
  Rendered browsing/_header_field.rhtml (6.0ms)
  Rendered browsing/_header_field.rhtml (6.0ms)
  Rendered browsing/_header_field.rhtml (5.0ms)
  Rendered browsing/index.rhtml within layouts/application (189.0ms)
  Completed 200 OK in 245ms (Views: 207.0ms | ActiveRecord: 20.0ms)
  </code></pre>
  
  <p>All hints are welcome! Thanks in advance!</p>