So I am using Capistrano to deploy a rails application to my production server (apache+passenger) and at the moment deployment usually goes along the lines:
My production deploys generally follow this process:
cap production deploy:web:disable
which directs all requests to a static maintenance pagecap production deploy
cap production deploy:web:enable
to make the site work as it shouldJohn Topley's response gives you some good in depth info here.