This gem allows automatic connection switching between a primary and one read replica database in ActiveRecord. It pattern matches the SQL statement being sent to decide whether it should go to the replica (SELECT) or the primary (INSERT, UPDATE, DELETE).

Required Ruby Version

>= 3.2.0

Authors

Matt Cruz

Versions

  1. 0.11.1
    1. source

      1. 0.11.1 source August 17, 2026 (24 KB)
  2. 0.11.0
    1. source

      1. 0.11.0 source May 11, 2026 (24.5 KB)
  3. 0.10.2
    1. source

      1. 0.10.2 source February 26, 2026 (24 KB)
  4. 0.10.1
    1. source

      1. 0.10.1 source January 03, 2026 (24 KB)
  5. 0.10.0
    1. source

      1. 0.10.0 source December 02, 2025 (24 KB)
Show all versions (56 total)

Pushed by

SHA 256 checksum