I have an app that contains active records that is on a remoteDB.
If the remote DB is down - my local app cannot continue, with the
Mysql::Error (Can't connect to MySQL server on 'xxxxxxxx' (110)): /
on_adapters/mysql_adapter.rb:389:in `real_connect' /usr/lib64/ruby/
connection_adapters/mysql_adapter.rb:389:in `connect' /usr/lib64/
on_adapters/abstract_adapter.rb:93:in `verify!' /usr/lib64/ruby/
Is there anyway I can handle this error in my app - so that I know the
remote DB is down?
(I use begin...rescue around the remote active record and it does not