Skip to content
Browse files

Merge pull request #3 from bartzon/master

Remote db configuration should honour multistage stage
  • Loading branch information...
2 parents 78ec3a4 + d69a5f3 commit 8ab43932531c6d5f5e30c37bc3c15d30546837aa @tilsammans committed Jan 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capistrano/transmit.rb
View
2 lib/capistrano/transmit.rb
@@ -55,7 +55,7 @@ def _db_config
# Production database configuration hash.
def _db_remote
- @_db_remote ||= YAML::load(_db_config)['production']
+ @_db_remote ||= YAML::load(_db_config)[stage.to_s]
end
# Development database configuration hash.

0 comments on commit 8ab4393

Please sign in to comment.
Something went wrong with that request. Please try again.