This project is archived and is in readonly mode.
render :text with no layout fails when called from view or helper
Reported by Erik Ostrom | September 28th, 2009 @ 07:00 PM
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 includes a fix for this, but here's a new patch that isolates the fix and provides a test.
Comments and changes to this ticket
-
Rohit Arondekar June 23rd, 2010 @ 01:29 PM
- State changed from new to stale
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>