This project is archived and is in readonly mode.

#3089 ✓duplicate
Ken Collins

Regression in 3.0pre With content_for And Layouts

Reported by Ken Collins | August 24th, 2009 @ 12:53 AM | in 3.0.2

A recent commit in trunk for 3.0pre has caused a regression with content_for is used to insert content into a layout. Here is the commit for 9f5cd0156ab907d8097fc9c588823a9b09038b93.

http://github.com/rails/rails/commit/9f5cd0156ab907d8097fc9c588823a...

This is a very common practice and is documented in the code to work. In fact, it is even one of Ryan's early screen casts.

http://railscasts.com/episodes/8-layouts-and-content-for

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>

Attachments

Pages