Forum: Ruby on Rails Informix adapter for Ruby on Rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Gerardo S. Gómez Garrido (Guest)
on 2006-03-27 14:19
(Received via mailing list)
We can now use Informix as back-end for our Rails applications. Here's
the code of the adapter:

http://rubyforge.org/cgi-bin/viewcvs.cgi/rails-inf...

It has been tested succesfully on Solaris 9/Informix 9.40/Rails 1.0.0.

Since Informix doesn't allow quoting a value for a [CB]LOB in a query,
I had to override some methods of ActiveRecord::Base to accept a
parameter list and a parameterized query.

Testers and comments are welcome.

P.S. It's based on the native Informix driver for Ruby:
http://rubyforge.org/cgi-bin/viewcvs.cgi/ruby-info...
--
Gerardo S.
"Between individuals, as between nations, respect for the rights of
others is peace" - Don Benito Juárez
http://santanatechnotes.blogspot.com/
This topic is locked and can not be replied to.