Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

NielsKSchjoedt's Profile

GitHub User: NielsKSchjoedt

Comments by


Why does this file contain this twice:

if (-f $document_root/system/maintenance.html) {
return 503;
error_page 503 @maintenance;
location @maintenance {
rewrite ^(.*)$ /system/maintenance.html last;


Do you have any experience with combining multitenancy, with load balancing between replicated databases? Unfortunately Apartment doesn't play nice with a gem like Octopus which also patches ActiveRecord so they conflict ... I have been searching hi and low for a solution to this...