On Thu, Jan 7, 2010 at 10:49 AM, Michael Guterl <[email protected]> wrote: > We currently disconnect from both databases in before_fork and > re-establish the connection in after_fork. > > Here's our unicorn config: http://gist.github.com/271449 > > Maybe I should disable connection pooling?
Try: ActiveRecord::Base.clear_active_connections! instead of: ActiveRecord::Base.connection.disconnect! Jeremy _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
