Class: Merb::BootLoader::DisconnectBeforeStartTransaction
- Inherits:
-
Merb::BootLoader
- Object
- Merb::BootLoader
- Merb::BootLoader::DisconnectBeforeStartTransaction
- Defined in:
- lib/merb_sequel.rb
Overview
Disconnects from DB before starting reloading classes
There is a problem with the pg gem driver wich causes infinite loop duing reloading process.
Disconnect only when fork_for_class_relaod is set and we’re not in testing mode.