This is how my database.yml file looks (obviously there are relevant entries for testing and production as well)
development:
adapter: postgresql
encoding: unicode
database: dbname_dev
pool: 5
username: username
password: tehpass
In terminal I can successfully run the following and log in to the database:
psql -U username dbname_dev
However after creating this new rails project and running
rails g controller ComingSoon index
I get the following message when I go to localhost:3000/coming_soon (despite double and triple checking the login credentials)
fe_sendauth: no password supplied
Any ideas why I can log in to these databases via "psql" but Rails cannot?