Archive for the 'Announcements' Category
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
March 26 2009 | Announcements | 2 Comments »
The IBM API development team has released version 1.0 of the ibm_db gem, which includes both the Ruby driver, and the Rails adapter, for IBM’s databases. This is a very important milestone for the DB2 on Rails community, and it ships with quite a few goodies.
Besides a few bug fixes, this version adds support for DB2’s secure connections via SSL, short-hands to use char, double and xml when using both create_table and change_table in Rails’ new “sexy migrations”, and enables change_column_null to work with DB2.
Even more importantly, it adds support for Transactional Migrations in Rails 2.2. What this means to you is that any DDL changes performed by a migration file before an exception has been raised, will be rolled back by DB2. This is a handy new feature in Rails 2.2, and our gem backed support for it, even before this version of Rails was shipped.
Speaking of Rails 2.2, which is about to be released, you’ll finally be able to run rails my_app -d ibm_db. This will generate a DB2-specific config/database.yml file. This move is possible thanks to a patch that was submitted by IBM to the Rails team. As handy as it is, the great news is not so much in this new feature, but rather in the fact that the Rails team has shown that they’re open to accepting patches that extend features to commercial databases as well, and not only the three open source ones they support. This can open up a world of possibilities for the future of DB2 on Rails, and it will mean less reliance on external plugins.
As usual, install as follows (on *nix systems):
$ . /home/db2inst1/sqllib/db2profile
$ export IBM_DB_DIR=/home/db2inst1/sqllib
$ export IBM_DB_LIB=/home/db2inst1/sqllib/lib
$ sudo gem update
$ sudo gem install ibm_db
On Windows, simply run:
gem install ibm_db
November 08 2008 | Announcements | 21 Comments »
The community surrounding DB2 is steadily growing, both within IBM and outside. Today is the first Online Community Action Day during which IBM invites IBMers, and information management product users in general, to actively participate more in the community.
Whether you use DB2 with Ruby, Rails or on its own, you too can get involved. And the same goes if you opt for Informix instead. Here are a few suggestions:
- Head on over to ChannelDB2 and register;
- Sign up for free with the IDUG or IIUG user groups;
- Join a Facebook group for DB2 or Informix;
- Take a moment to respond to even a single question in the developerWorks forums or on comp.databases.ibm-db2 (or comp.databases.informix
- Send an e-mail to a couple of colleagues or friends and pass on links to ChannelDB2, PlanetDB2, Informix Zone, the XML Contest homepage (which went live today), or other community sites;
- Find a blog post that you appreciated and take the time to leave a comment saying “thank you”.
- If you are feeling ambitious, start your own blog about DB2 or Informix, sharing your experiences with the community.
There you have it. And whatever you decide to do, remember that it greatly benefits our community and can help foster its growth. Thank you.
October 01 2008 | Announcements | No Comments »
Next »