Re: problems with DB2 driver

Joe,

I’ve got the ibm_db2 driver running successfully here.

I’ve started writing a presentation on this for IDUG in May, and the
installation is documented in it. You can pick up the latest version
from
here -

http://www.scotdb.com/downloads/railsdb2.odp

(that’s a OpenOffice Presentation).

If that doesn’t help, if you let me know your environment (operating
system,
Ruby and Rails versions etc.) then I’ll try to help further.

Thanks

Phil

Philip N. wrote:

(that’s a OpenOffice Presentation).

If that doesn’t help, if you let me know your environment (operating system,
Ruby and Rails versions etc.) then I’ll try to help further.

Thanks

Phil

Thanks, Phil, I’ll give that a try.

I have managed to figure out when using the db2.0.4.4 driver, that by
using the “to_i” method to convert the argument “params(:id)”, which is
implicitly a string, into an integer wherever the argument is used
within a find() method call, I can get Rails to work. I still don’t
know why it treats “params(:id)” as a string but when MySQL is used,
there is no such problem.

thanks,
Joe