I have a Rails app running on a postgres database. I'm setting up a background task queue running on the database, and I need to specify the database URL.
The various permutations I've tried and would expect all return FATAL: database "database-name" does not exist.
Is there a command that will print this URL?
Or, what should the URL look like if my database.yml looks like this
development:
adapter: postgresql
encoding: unicode
database: db/database-name
Thanks for suggestions.