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.

hbeaver (at gmail)'s latest activity

Monday, August 10 2009
101 ActiveRecord connection does not reconnect when using Thin/Sinatra but works ... was updated in Thin
  • hbeaver (at gmail)
    • Assigned user cleared.
    by hbeaver (at gmail) at 1:05 PM

    As mentioned above, I resolved this issue by moving ActiveRecord::Base.connection.verify! into Sinatra class before do block:

    class NewApp < Sinatra::Default  ...
Friday, May 29 2009
101 ActiveRecord connection does not reconnect when using Thin/Sinatra but works ... was updated in Thin
  • hbeaver (at gmail)
    hbeaver (at gmail) commented at 6:18 PM

    RESOLUTION?

    I moved the "before do" into extended Sinatra::Default class as opposed to model and issue was resolved. However, this does not explain why mongrel ...

Thursday, May 28 2009
101 ActiveRecord connection does not reconnect when using Thin/Sinatra but works ... was created in Thin
  • hbeaver (at gmail)
    hbeaver (at gmail) created the ticket at 3:37 PM

    I have a very simple model for a simple web service. Any call to model will throw 500, like Model.find(:first) after 10 seconds.

    Error:

    application error
    Activ...