From: Hassan Schroeder Date: 2012-09-25T01:31:30+09:00 Subject: Re: Ruby SQL Select Sum 2 Columns? On Mon, Sep 24, 2012 at 9:11 AM, Courtney Fay wrote: > When I add > > puts rows > > I get SQLServerResultSet:9 > > I am not doing this in irb, it is in the console for the program that is > using it. irb, console, whatever REPL you're using is irrelevant. > I think if I get the SQLServerResultSet: part stripped off Again: the result of your query being executed is not a string, not a number, it is as it shows above: a SQLServerResultSet . There is nothing to "strip off". You need to read the doc for that class to understand what it is you're looking at and how to use it. -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan