There was a thread recently that brought up the idea of modifying
automatically. I took a look at doing that last night, and
discovered that it’s actually quite a simple thing to do without
extending the Rails source. In a layout, all you have to do is:
Admittedly, this is not DRY because you would need to do this for
every application you write. But it is DRY for the current application.
Just thought I’d pass that along.