POSTGRES DATABASE YML FILE
When we create new app or we want to use pg database then sometimes we forgot the postgres database.yml file setting
Gemfile
gem "pg"Database.yml
default: &default
host: localhost
adapter: postgresql
encoding: unicode
pool: 5
development:
<<: *default
username: postgres
password: postgres
database: rohit_development
test: &test
<<: *default
username: postgres
password: postgres
database: rohit_test
Comments