• pbair's avatar
    New approach passing connection into shared models · 452d554d
    pbair authored
    Rework multi-database partitioning code to not use establish_connection,
    but instead use the connection from the partitioned model, which should
    already be setup for the correct database.
    452d554d
multi_database_partition_manager.rb 1020 Bytes