Rake DB Tasks Always Runs Twice in Development Environment
Recently, we set up a new Rails project (named as app
below), and our database.yml
is shown below, so you can see that it reads from environment variables to set database names and credentials accordingly:
default: &default adapter: postgresql...