RailsCasts Pro episodes are now free!

Learn more or hide this

NielsKSchjoedt's Profile

GitHub User: NielsKSchjoedt

Comments by


Why does this file https://github.com/railscasts/373-zero-downtime-deployment/blob/master/blog-after/config/recipes/templates/nginx_unicorn.erb 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...