On Wed, 26 Mar 2008 19:09:10 -0500, Joey Marino wrote: > [Note: parts of this message were removed to make it a legal post.] > > I see, > I have a class to handle interfacing to the database. The initialization > of the class will connect to the db and another method will close the > connection and there are query functions for handling the queries and > results. This object is then passed into new objects on their > initialization. The problem comes in when I iterate through a set of > objects creating a fork for each one. After the first object I am > getting a "database went away error". Here we go. Here's my sample code for solving this issue. http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/204151 --Ken -- Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/