[Rails] Re: Active Records - multiple connections question

2009-09-03 Thread pepe
The optional question should be pretty easy to solve. ActiveRecord::Base has a method called 'connected?'. I am not that experienced with multiple connections, though, so I'd rather let somebody else give you an more intelligent answer than I would. Pepe On Sep 3, 1:32 am, Marc Hoeppner wrote:

[Rails] Re: Active Records - multiple connections question

2009-09-03 Thread Patrick Doyle
You could try forcing a garbage collection with something like GC.start (I think). You could try doing that after each connection, or after every N connections, if it takes too long. --wpd --~--~-~--~~~---~--~~ You received this message because you are subscribed