Replaced activerecord-postgresql-adapter with pg gem
Allow the database connection to be configured