use active record connection pool

[ci skip]