Configure Rails for PostgreSQL