Ruby/Rails display general screen when modifications being performed on server
Posted
by john chan
on Stack Overflow
See other posts from Stack Overflow
or by john chan
Published on 2010-03-09T07:56:46Z
Indexed on
2010/03/09
8:51 UTC
Read the original article
Hit count: 747
ruby-on-rails
|ruby-on-rails-plugins
I have a ruby on rails app running a server and sometimes it needs to be taken down for updates/etc. As of now, one way I see to have a general display screen during update periods (when the app is down) is to substitute the files within /srv/www/ directory to just have it display a general screen everywhere that the user could possibly navigate to. I also thought of having a central controller file that connects all others (essentially a main) but this seems counter intuitive for rails.
There are many external links to these different components of the site that the user could navigate to from outside and I need to make sure that they always receive this general update screen when the app is taken down for a little.
I was wondering if anyone had any other ideas.... maybe a library or something like that, I can't seem to find anything online. any suggestions would be appreciated.
Thanks
© Stack Overflow or respective owner