Capistrano Multi Stage Instructions - Box Vault
Features provided in the capistrano-ext gem allows you to setup multiple environments within your deploy.rb file giving you the ability to run commands such as:
cap development deploy:migrations or
cap production deploy:migrations and have your application deploy to the different environments properly. This document provides you instructions on how to properly accomplish this.