# $author: Ken W. # $date: 09/11/2007 # # I did a hack in the abstract connection code to enable the # auto-reconnection property # module ActiveRecord class Base class << self alias :old_connection :connection def connection self.verify_active_connections! old_connection end end end end