[LRUG] Rendering maintenance pages?

Paul Robinson paul at 32moves.com
Thu Jun 27 03:01:54 PDT 2013


On 27 Jun 2013, at 10:55, Daniel Barlow <dan at telent.net> wrote:

> I think you're actually agreeing with each other here: Joel is talking about a rake task and a static page, which presumably would be written to this "separate area of disk" to be served directly by nginx/your upstream proxy next time the app is brought down, but he wants it to be produced using the same layout, styles and general look & feel as the app itself and to stay in sync when the app changes.  It seems like this is the kind of thing the asset precompiler should be able to do, but I've no  idea how.


Ah, got you.

I think this is what we're after then:

http://icelab.com.au/articles/precompiled-rails-static-404-and-500-pages/

It'll need a bit of a tweak to produce a maintenance page, but that looks like your starter for 10...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20130627/bb055bde/attachment-0003.html>


More information about the Chat mailing list