Is there a way to do a sub-layout? For example, you have an application
level layout that does things like headers, footers, menus, etc. This
works great, since these things appear on every page. However, a good
number of pages require some decoration (e.g. tabs), which wrap around
the unique content (what’s normally in @content_for_layout). It would be
great if you could use a tab layout that indicates that it should be
inserted into the application layout.
Is there a way to easily do this in Rails?