Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

render :text with no layout fails when called from view or helper

#3298

In master:

<%= render :text => 'Hello world!' %>

produces no output. Likewise when you call render :text from a helper.

This example is contrived, but it seems like for consistency it should work.

My patch for #3260 ActionView::TestCase needs to be ported to master. includes a fix for this, but here's a new patch that isolates the fix and provides a test.

Reported by Erik Ostrom · September 28th, 2009 @ 07:00 PM

State: stale
Milestone: none
Assigned to: nobody
Importance: none