Class: Merb::Orms::ActiveRecord::DisconnectBeforeFork
- Inherits:
-
BootLoader
- Object
- BootLoader
- Merb::Orms::ActiveRecord::DisconnectBeforeFork
- Defined in:
- lib/merb_activerecord.rb
Class Method Summary collapse
Class Method Details
.run ⇒ Object
28 29 30 31 |
# File 'lib/merb_activerecord.rb', line 28 def self.run Merb.logger.debug "Disconnecting database connection before forking." ::ActiveRecord::Base.clear_active_connections! end |