Displaying 1 result from an estimated 1 matches for "staging_database".
2013 May 15
1
staging deploy connected to production database
...ault_stage, "staging"
It deploys correctly to the right path:
#deploy/staging.rb
set :deploy_to, "/home/myuser/public_html/mysite/"
But it connects to the production database not staging database in my
database.yml file:
staging:
adapter: mysql2
encoding: utf8
database: staging_database
pool: 5
username: username
password: password
socket: /var/run/mysqld/mysqld.sock
host: host
production:
adapter: mysql2
encoding: utf8
database: production_database
pool: 5
username: username
password: password
socket: /var/run/mysqld/mysqld.sock
host: host
Why is it li...