ActiveRecord Partitioning An ActiveRecord ConnectionPools class supports switching connection pool by database config instead of ActiveRecord model class name. It is only support ActiveRecord 2.3.18 currently.