title: Rails yield and content_for in partial
body: <p>I've got used to use <code>content_for</code> and <code>yield</code> for my views in order to set the page title and other neat stuff, related to view rendering.</p>
  
  <p>And now I got stuck with next scheme: LAYOUT -> VIEW (edit.html.erb) -> PARTIAL (_main.html). That is - view contains a partial. </p>
  
  <p>If I define <code>content_for :view_content_title, "Hello World"</code> in the partial, it IS accessible in the LAYOUT, but it is <strong>NOT</strong> in the VIEW - <code>content_for?(:view_content_title)</code></p>
  
  <p>Why ? What should I do about it ? </p>