I’d either never picked up on this or totally forgotten it, but I ran across it while reading Ajax on Rails:
If you create a layout file under app/views/layouts/ called application.rhtml, Rails will pick that up as a default layout for your entire application, assuming you haven’t created other layouts already.
By default Rails looks first for a layout template with the same name as the current controller with the extension .rhtml. If it can’t find this layout, it goes looking for application.rhtml layout.
Somehow, I’d gotten in the habit of creating [...]

