From: Raimon Fs Date: 2009-02-25T18:45:57+09:00 Subject: Re: updating row with pg => success or failure Choi, Junegunn wrote: > I don't see any problem in the doc. Maybe you misread the sentence?: > "If the SQL command that generated the PGresult was **NOT ONE OF** ... Yes, I read and read and re-read ... :-) And I still think the same: The result of res.cmd_tuples() is valid if the command that generated it IT'S NOT ONE OF THIS: INSERT UPDATE DELETE MOVE FETCH I would say it in this way: The result of res.cmd_tuples() is valid if the command that generated it it's one of this: INSERT UPDATE DELETE MOVE FETCH English is not my nativa language and I can be wrong, but at least this is what I understand ... :-) regards, r. -- Posted via http://www.ruby-forum.com/.