adding postgres config to rails app