I'm not sure why but I have both a staging and production deploy using
the 'capistrano/ext/multistage' gem. I set staging to the default:
set :stages, ["staging", "production"]
set :default_stage, "staging"
It deploys correctly to the right path:
set :deploy_to, "/home/myuser/public_html/mysite/"
But it connects to the production database not staging database in my
Why is it linking to the production database and not staging? I don't
see where that option is specified during the deploy process.