Capistrano recipe: update shared assets and database locally | Nick's
a few techniques I haven’t used: get(remote_path) to fetch a remote file. Loads the database.yml for local database password.