I've the same problem with content_for and yield. The contect of the 
content_for is not inserted in the yeld tag of the layout.

I've upgraded from rails 2.1.2 to 2.2.2.

 In the view
<% content_for :footer do %>
   footer text here
<% end %>

In the Layout

<%= yield :footer %>

Anyone know what the problem is?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to