Servers.com interview question

How does connection pools work in Ruby On Rails with PostgreSQL?