RubyGems Navigation menu

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:

  1. 0.1.0 February 28, 2026 (6.5 KB)

Runtime Dependencies (2):

activerecord >= 7.1
trilogy >= 2.0

Owners:

Pushed by:

Authors:

  • Shia

SHA 256 checksum:

=

Total downloads 93

For this version 93

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

Links: