defining layouts and application.rhtml

I haven't used it, but this looks like what you want to do:

http://nested-layouts.rubyforge.org/

That said, I think it should also be possible to rethink your layout and use partials to avoid RY.

-Pawel