From: Mike Keller Date: 2007-01-11T06:44:16+09:00 Subject: Re: Undefined Method `free' Gavin Kistner wrote: > What that means is that on line 27, you are calling "free" on a nil > object. > Which means that 'res' is a nil object. > Which means that db.query(...) is returning nil. My question now is what would someone recommend as the best solution for this. If I simply remove the line with res.free it enters the information into the db 3 times. Am I missing something that is causing it to do this? Thanks. -- Posted via http://www.ruby-forum.com/.