activerecord-mysql-reconnect
activerecord-mysql-reconnect copied to clipboard
It is the library to reconnect automatically when ActiveRecord is disconnected from MySQL.
Results
1
activerecord-mysql-reconnect issues
Sort by
recently updated
recently updated
newest added
# Agenda Rails does not provide the functionality to update database credentials within `ActiveRecord::Base.connection_pool` (allow rotating credentials) during runtime. This could be facilitated by rescuing `Mysql2::Error::ConnectionError` and manually updating `ActiveRecord::Base.configurations[Rails.env]`...