Support for Ruby 1.9.1 and Rails 2.3 is here

The IBM API team just released a juicy update of the ibm_db gem. Version 1.0.5 packs support for ActiveRecord 2.3.2, which is included in the latest, recently released version of Rails, as well as being compatible with Ruby 1.9.1 (you can read this post of mine to learn why this is important). To be more exact, this release enables the driver to work as a ASCII driver when using Ruby 1.9.1, with Unicode support to follow in upcoming releases.

1.0.5 also includes support for the SQLRowcount feature and fixes three bugs: one related to setting the schema on z\OS, another about LOB handling, and finally an edge case about nested queries that were truncated.

To install or update this gem on Windows, simply run:

gem install ibm_db

On Linux, run the following:

sudo -s
export IBM_DB_INCLUDE=/home/db2inst1/
sqllib/include
export IBM_DB_LIB=/home/db2inst1/sqllib/lib
gem install ibm_db



[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Posted by Antonio Cangiano | March 26 2009 11:55 am | Announcements

2 Responses to “Support for Ruby 1.9.1 and Rails 2.3 is here”

  1. Shields on 29 Mar 2009 at 8:34 pm #

    Hi Antonio, I’m getting “@@@IBMTEXT@@@” stored in the database when I try to save the rails :text datatype using the ibm_db 1.05 adapater. Not sure why as I’m running a fairly simple app.

    Looking forward to Unicode support.

  2. Davide on 21 May 2009 at 6:24 am #

    Hi,
    is there any plan to develop a JRuby version of the ibm_db adapter?
    Thanks,

    Davide

Trackback URI | Comments RSS

Leave a Reply