Re: [GENERAL] ruby driver postgresql

2006-08-25 Thread Michael Fuhr
On Thu, Aug 24, 2006 at 12:11:28PM -0700, Junkone wrote: > I am using the C driver and am trying to run this statement > irb(main):020:0> a=conn.exec("select * from exchanges where id=$1",4) > ArgumentError: wrong number of arguments (2 for 1) > from (irb):20:in `exec' > from (irb):

[GENERAL] ruby driver postgresql

2006-08-25 Thread Junkone
HI I am using the C driver and am trying to run this statement irb(main):020:0> a=conn.exec("select * from exchanges where id=$1",4) ArgumentError: wrong number of arguments (2 for 1) from (irb):20:in `exec' from (irb):20 from :0 irb(main):021:0> I get the error. But the ru