Forum: Ruby on Rails Re: Rails with DB2

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2006-01-26 15:34
(Received via mailing list)
> Anyone has a working installation of DB2 DBI driver for Ruby?
I am not sure, if I fully understand you: the ActiveRecord adapter
for DB2 depends on ruby-db2
It does not use DBI. I have a working installation of ActiveRecord
for DB on Red Hat Linux and there are people out there using it on
AIX, too. There are some problems compiling the ruby-db2 project on
Windows, but some peope are trying to create a binary at the moment.

The current SVN revision of the ActiveRecord adapter passes all unit
tests, but it is not fully integrated in Rails. Scaffolding did not
work properly for timestamps in former versions of ActionView, but it
has been fixed recently. In addition, the Rails framework seems to
make the assumption that every database understands quoted integers,
which is not the case. DB2, e.g., does not. So, when working with DB2
be prepared to insert a to_i or to_s in some places.

Hope this helps!


Davide B. (Guest)
on 2006-01-26 18:09
(Received via mailing list)
removed_email_address@domain.invalid wrote:
> Hope this helps!
> Cheers
> Maik

Thank You!! :)

This topic is locked and can not be replied to.