From: Aldric Giacomoni Date: 2009-12-28T22:16:28+09:00 Subject: Re: DBI: number of rows updated? yermej wrote: > On Dec 24, 7:35�am, Aldric Giacomoni wrote: >> Is there a way with the DBI gem to figure out how many rows were >> touched? > >> � � rows = statement_handle.rows > > With Ruby 1.8.4 and DBI 0.1.0 this line works as expected for me. Have > you checked the value of rows right after it's assigned? Maybe there's > something else going on. > > Jeremy It all looks fine, and works fine when separated from the rest of the code; so it must be broken somewhere else. Thanks for helping me check this bit, both of you :) -- Posted via http://www.ruby-forum.com/.