Capistrano is a really great tool to help automate deployments. It's super convenient... but sometimes a little too convenient when you accidentally deploy your experimental development branch to production. Fun times.

Personally, even if I don't screw up, I find myself anxiously scrolling back to the prompt and checking if I've actually typed the right thing. Enough of that. We should confirm the target branch and stage before starting the deploy process. And doubly make sure in production.

Let's write a quick cap task:

Phew. I feel better.