Showing posts with label activerecord. Show all posts
Showing posts with label activerecord. Show all posts

Monday, May 12, 2008

activerecord-informix-adapter available for Rails 2.1 RC

Ruby Inside is carrying the news of Rails 1.2 Release Candidate being tagged by David Heinemeier Hansson. Some of the new features are mentioned, along with instructions for getting Rails 1.2 RC.

I'm glad to see that the activerecord-informix-adapter gem was finally built and published in the Ruby on Rails' gems server, as can be seen by running


gem list --source http://gems.rubyonrails.com -r


The gem is listed as activerecord-informix-adapter (1.0.0.9216) and can be installed by running


sudo gem install activerecord-informix-adapter --source http://gems.rubyonrails.com/


Enjoy!

Thursday, March 27, 2008

Where is the activerecord-informix-adapter gem?

I was waiting for the next release of Ruby on Rails to say this, but it's taking more time than I expected.

Rails/Informix was already imported in the Ruby on Rails SVN repository back on October 14th, 2007, but the activerecord-informix-adapter gem was not available as expected when Ruby on Rails 2.0 was released.

Well, Jeremy Kemper was so kind to tell me on December 27th, 2007, that the activerecord-informix-adapter gem will be available in the next release of Ruby on Rails. It was not available before because it was not connected to the build system. It was already fixed.

Meanwhile, you can take advantage of the Informix adapter now, installing it by hand, following the installation instructions for Rails 1.x, except for the part of editing a file. Just copy the file informix_adapter.rb to the location mentioned, and enjoy!
 

Wednesday, December 05, 2007

Informix adapters for ActiveRecord and ruby-sequel

I have updated Rails/Informix to implement DECIMAL support and fix a pair of bugs that prevented the generation of db/schema.rb. I'm happy to say that on its 1.1.0 release, this adapter is mostly complete - indexes is still missing - and robust.

By the way, even though Rails 2.0 is out already, the ActiveRecord's Informix adapter gem was not published. I have tried to bring this issue to Jeremy Kemper's and Ruby on Rails Talk's attention without success yet. So, in the meantime, just donwload and manually install the distribution from Rails/Informix's project site.

Speaking of O/RM adapters, some weeks ago I found another Ruby O/RM called ruby-sequel which looks very nice to me. It has a nice interface that lets you write queries using Ruby and has just implemented an Informix adapter based on Ruby/Informix. You can take a look at some examples here.