IBM_DB 1.0.2 released
A few days ago the IBM API team released an update for the Ruby driver and Rails adapter for IBM databases. This specific release of the IBM_DB gem (1.0.2) fixes a couple of LOB related bugs that were recently found, and adds support for the timeout parameter for ActiveRecord. In practice this means that you’ll now be able to specify a timeout value within your config/database.yml file, which expresses the amount of time in milliseconds seconds before an attempt to establish a connection with DB2 timeouts.
For example, the development section of said configuration file may look like this:
development:
adapter: ibm_db
username: db2inst1
password: secret
database: db_name
schema: myapp
timeout: 5
In this case, the timeout for each connection was 5 seconds.
We hope you’ll find this release useful. Give it a try, and please report any issues, however unlikely they may be, in the RubyForge forum.
Posted by Antonio Cangiano | March 12 2009 10:32 am | Announcements
on Rails

Jeremy on 28 Mar 2009 at 9:52 am #
Awesome! Can we expect a release of a non-blocking ruby driver similar to MySQL’s MySQLPlus driver in the near future?
Praveen on 27 Aug 2009 at 7:14 am #
Hi Jeremy,
Release 1.5.0 of the ibm_db gem enhances the ibm_db driver with
non-blocking support on Ruby-1.9.
I know you are on ruby-1.8.6, might be you will need to try Ruby-1.9 and use the 1.5.0 version of ibm_db and experience the performance benefits that you are looking for.
Thanks
Praveen