How do we monitor that the connectivity between the rails app and the database is established. will rails try to re-connect the connection with mysql if it closes?
views:
32answers:
1
A:
Cesario
2010-03-27 17:29:47
i have written a ruby script which finds if the process is running or the mysql db connectivity is established and placed it in the scripts directory . can i call this ActiveRecord::Base.connected? from that ruby script?
railscoder
2010-03-29 07:08:28
I've updated my post to respond to your comment :)
Cesario
2010-03-30 05:04:24