title: How can I nest layouts in rails
body: <p>I have Account controller which contains actions like "change password", "change email", etc.
  Every view will have the same sidebar, which I want to abstract out to additional account layout.</p>
  
  <pre><code> application layout (header, footer)         
                \/
   account layout (sidebar)
                \/
               view
  </code></pre>
  
  <p>Is it possible to do without editing <code>layouts/application</code>?</p>
  
  <p>I have tried to create <code>app/view/layouts/account.html.erb</code>, and use <code>yield</code> inside, but in this case, rails skips <code>layouts/application</code> and starts with <code>layouts/account</code>.</p>