AR connections timeout and drop, that's how it is. Rails fixes this in a
filter. I believe it's documented.
That's why on our tt AIM bot I have to verify connections before each access
(but you knew that, jeremy :P ).    As lifo says.

On Sat, May 17, 2008 at 4:56 PM, Pratik <[EMAIL PROTECTED]> wrote:

>
> The catch is, if someone is running AR in daemonized env. outside
> actionpack, they gotta call verify_active_connections! manually.
>
> On Sun, May 18, 2008 at 12:54 AM, Jeremy McAnally
> <[EMAIL PROTECTED]> wrote:
> >
> > I actually had 3 different people come up to me at MySQLConf and tell
> > me their AR connections were dropping like this and not reconnecting.
> > It might be something you want to check into (though I don't think
> > there's a verifiable way to test it).
> >
> > I'll try to find out more information from those guys if I can find
> > their cards...
> >
> > --Jeremy
> >
> > On Fri, May 16, 2008 at 8:15 PM, Michael Koziarski
> > <[EMAIL PROTECTED]> wrote:
> >>
> >>> I think there should be a reconnect policy to auto connect to the
> server
> >>> when connection is lost, especially the mysql binding support that,
> right?
> >>
> >> Yeah, rails applications will do this transparently.   We don't want
> >> to have a solution that only works with mysql when the current one
> >> works for all our supported databases.
> >>
> >> --
> >> Cheers
> >>
> >> Koz
> >>
> >> >
> >>
> >
> >
> >
> > --
> > http://jeremymcanally.com/
> > http://entp.com
> >
> > Read my books:
> > Ruby in Practice (http://manning.com/mcanally/)
> > My free Ruby e-book (http://humblelittlerubybook.com/)
> >
> > Or, my blogs:
> > http://mrneighborly.com
> > http://rubyinpractice.com
> >
> > >
> >
>
>
>
> --
> Cheers!
> - Pratik
> http://m.onkey.org
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to