I’ve found the easiest way to manage the config/database.yml file in a Rails + Capistrano configuration is to add the following line to your capistrano config/deploy.rb configuration file: set :linked_files, %w{config/database.yml} Then add config/database.yml to your .gitignore file. After which, add your environment’s database.yml file to the appropriate location on the remote server(s): #{deploy_to}/appname/shared/config/database.yml Where deploy_to is the deploy_to capistrano configuration setting. This way the configuration parameters are not stored [...]
Read More
If you just created a new PostgreSQL database for your Heroku App and are running into the following error: “password authentication failed for user” Try running the following command at the CLI: heroku pg:promote THE_DATABASE_NAME_HERE This should clear up the issue.
Read More
Recent Comments