I'm not sure but guessing these things may change on a per-template basis. If so content_for may be what you're looking for:
http://railscasts.com/episodes/8 You could also use a partial to pull this off. -- Josh http://iammrjoshua.com Heinz Strunk wrote: > Hello, > > I'm having a problem which is following: > <div id="header"><img ...></div> > <div id="navigation">[STUFF FROM THE DB]</div> > <div id="submenu">[STUFF FROM THE DB]</div> > <div id="content"><%= yield %></div> > <div id="footer">[STUFF FROM THE DB]</div> > > How can I fill the [STUFF FROM THE DB] div's when I only have one single > yield? I can't think of any possible solution... -- 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

