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.1.0

Authors

Matt Cruz

Versions

  1. 0.11.0 May 11, 2026 (24.5 KB)
  2. 0.10.2 February 26, 2026 (24 KB)
  3. 0.10.1 January 03, 2026 (24 KB)
  4. 0.10.0 December 02, 2025 (24 KB)
  5. 0.9.3 February 26, 2026 (25 KB)
  6. 0.3.2 February 25, 2025 (15.5 KB)
Show all versions (55 total)

Pushed by

SHA 256 checksum