Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Conny Brunnkvist's latest activity

Monday, July 26 2010
101 ActiveRecord connection does not reconnect when using Thin/Sinatra but works ... was updated in Thin
  • Conny Brunnkvist
    Conny Brunnkvist commented at 12:22 PM

    I wonder if we don't need to simply ActiveRecord::Base.establish_connection after forking.. but then, why wouldn't reconnect! work? I gave up on this one, will ...

Wednesday, July 21 2010
101 ActiveRecord connection does not reconnect when using Thin/Sinatra but works ... was updated in Thin
  • Conny Brunnkvist
    • Milestone order changed from 0 to 0
    by Conny Brunnkvist at 7:15 PM

    Same problem here.

    Works when running in foreground but as soon as either of "-s 1" or "servers: 1" is set, ActiveRecord is can't connect.