# Ruby/Informix 0.6.0

**URL:** <https://www.ruby-forum.com/t/ruby-informix-0-6-0/113245>\
**Category:** Ruby\
**Created:** [August 29, 2007, 6:39am UTC](https://www.ruby-forum.com/t/ruby-informix-0-6-0/113245 "2007-08-29T06:39:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerardo\_SSGSSS\_mez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c37758/32.png) [@Gerardo\_SSGSSS\_mez](https://www.ruby-forum.com/u/Gerardo_SSGSSS_mez)\
**Post date:** [August 29, 2007, 6:39am UTC](https://www.ruby-forum.com/t/ruby-informix-0-6-0/113245/1 "2007-08-29T06:39:21Z")

</div>

Ruby/Informix is a Ruby extension for connecting to IBM Informix  
Dynamic Server, written in ESQL/C. It runs on Solaris, Linux, Windows  
XP and HP-UX. It has been tested with Informix 7, 9, 10 and 11. Read  
the release notes for details.

Home page: [http://ruby-informix.rubyforge.org](http://ruby-informix.rubyforge.org)

What’s new in this release:

## 0.6.0 08/28/2007

New features:  
\* Test suite  
\* Error, Warning, and AssertionFailure classes replace RuntimeError  
when  
raising exceptions.

```
  Error class methods:
    - message
    - sql_code
    - add_info
    - []
    - each
    - to_s
    - size, length

  message and sql_code reference the first error message. Following
  errors can be accessed through Error#[] as ExcInfo objects.

  ExcInfo is a Struct with the following members:
    - sql_code
    - sql_state
    - class_origin_val
    - subclass_origin_val
    - message
    - server_name
    - connection_name

  See test/testcase.rb for a simple example of exception handling.

* Informix.version returns the version of this extension
* Database#do aliased as Database#execute
* More documentation

```

Remarks:  
\* Database#do is deprecated and will be removed in next versions.  
Use  
Database#execute or Database#immediate instead.

```
* In case of Informix errors, RuntimeError objects are no longer 

```

raised.  
Error, Warning and AssertionFailure objects are raised instead.

Acknowledgments:  
I want to thank Edwin F.   
who contributed all the functionality of this release.
