configure rails with PostgreSQL