
08-22-2009, 05:15 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
The DB connection must be closed after Rails application initialization bofore forking children process to serve requests.
Quote:
|
ActiveRecord::Base.clear_active_connections! if defined?(ActiveRecord::Base)
|
Works for MySQL, may have issue with oracle, so you may need to close it explicitly at the end of initialization code of your app.
|