activerecord-trilogy-failover 0.1.0
Handles MySQL ER_OPTION_PREVENTS_STATEMENT (1290) errors by translating them into ActiveRecord::ConnectionFailed, enabling Rails' built-in retry mechanism to transparently reconnect. Useful for Aurora failover, ProxySQL, RDS Multi-AZ, or any MySQL read-only switchover scenario.
Gemfile:
=
install:
=
Versions:
- 0.1.0 February 28, 2026 (6.5 KB)
Runtime Dependencies (2):
activerecord
>= 7.1
trilogy
>= 2.0