# Yield not working upgrading to rails 3

**URL:** <https://www.ruby-forum.com/t/yield-not-working-upgrading-to-rails-3/183046>\
**Category:** Rails\
**Created:** [February 6, 2010, 9:13pm UTC](https://www.ruby-forum.com/t/yield-not-working-upgrading-to-rails-3/183046 "2010-02-06T21:13:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anrob](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ebca7d/32.png) [@anrob](https://www.ruby-forum.com/u/anrob)\
**Post date:** [February 6, 2010, 9:13pm UTC](https://www.ruby-forum.com/t/yield-not-working-upgrading-to-rails-3/183046/1 "2010-02-06T21:13:05Z")

</div>

I am currently upgrading an app to rails3 and have run into a weird  
issue where my main content will not yield. I get nothing rendered to  
the page. If I use content\_for I can get it to render fine but the main  
yield does not work. If I generate a new app things work as expected.  
Any suggestions on where to look? The log says it is rendering and I get  
zero errors…

---

<div class="post-metadata">

**Author:** ![anrob](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ebca7d/32.png) [@anrob](https://www.ruby-forum.com/u/anrob)\
**Post date:** [April 3, 2010, 1:27pm UTC](https://www.ruby-forum.com/t/yield-not-working-upgrading-to-rails-3/183046/2 "2010-04-03T13:27:53Z")

</div>

I am having this exact same problem. Any news on it or perhaps you  
found the problem or a fix?
