Bring back ActiveRecord::Base#connection_handler removed by mistake on b37399ab