This project is archived and is in readonly mode.

#5891 open
Jarl Friis

render_to_string :template before normal render causes assert_template failures

Reported by Jarl Friis | October 29th, 2010 @ 11:51 PM | in 2.x

When render_to_string :template => ... is called in a controller action and a normal template render later occurs

Tests that uses assert_template will fail claiming that the template is ''

See also ticket #1383 for an earlier similar problem.

Jarl

Comments and changes to this ticket

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>

Referenced by

Pages