This project is archived and is in readonly mode.
"yield" doesn't work with content_for_layout and render :file
Reported by nex3 | November 5th, 2009 @ 01:49 AM | in 3.0.2
See http://gist.github.com/226606. Running error.rb produces a "no block given" error.
Comments and changes to this ticket
-
Jose Fernández February 23rd, 2010 @ 05:57 PM
- Tag set to patch
I found the same error, seems that the block was not passed in this cass, solved it by explicitly passing it. Made a test and seems to work as expected and not to break anything. Patch included
-
José Valim February 23rd, 2010 @ 09:03 PM
- Milestone cleared.
- Assigned user changed from Yehuda Katz (wycats) to José Valim
-
José Valim February 26th, 2010 @ 06:22 PM
- Assigned user changed from José Valim to Yehuda Katz (wycats)
- State changed from new to open
Handing it back to Yehuda.
-
Santiago Pastorino March 4th, 2010 @ 09:15 PM
- State changed from open to verified
-
Yehuda Katz (wycats) March 5th, 2010 @ 04:52 PM
- State changed from verified to resolved
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to High
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>
People watching this ticket
Attachments
Tags
Referenced by
- 3089 Regression in 3.0pre With content_for And Layouts This appears to be a duplicate of ticket #3459