#3. Why Rails? Easy Hosting Options.
Notes
In Gemfile comment out # gem 'sqlite3', '~> 1.3.6'
and add gem 'pg'
.
Put this in database.yml:
default: &default
host: localhost
adapter: postgresql
encoding: unicode
pool: 5
username: postgres
password: postgres
development:
<<: *default
database: mycontacts_development
test:
<<: *default
database: mycontacts_test
production:
<<: *default
database: mycontacts_production
Links