Database driver developers guide

(Leigh) #1

I was looking at the list of drivers supported by rails, and it is
missing out a lot of databases. As good as rails is, its a non-started
in my company as it doesn't support any of our enterprise databases.

If someone wanted to develop a pure ruby driver for rails, where would
they start ? Is there a developers guide ? Is there a ruby-jdbc
bridge ?

Thanks,
Leigh.

(Dave Burt) #2

Leigh asked:

I was looking at the list of drivers supported by rails, and it is
missing out a lot of databases. As good as rails is, its a non-started
in my company as it doesn't support any of our enterprise databases.

If someone wanted to develop a pure ruby driver for rails, where would
they start ? Is there a developers guide ? Is there a ruby-jdbc
bridge ?

The Rails wiki is a good source of this kind of information, as are:
* #rubyonrails on IRC
  * irc://irc.freenode.org/rubyonrails
  * (complete logs) - http://saqataq.us/rubyonrails/
* the Rails mailing list
  * http://lists.rubyonrails.org/mailman/listinfo/rails
  * (archive) - http://thread.gmane.org/gmane.comp.lang.ruby.rails/

Try the following Rails wiki pages specific to your question:



Cheers,
Dave

(Leigh) #3

Thanks for the tip. I had a look though this and have an idea where to
start now. I beliew I need to get a hold of a working database driver.
I am trying to use Sybase and the driver I'm trying to use the driver
I found here: http://raa.ruby-lang.org/project/sybase-ctlib/ but am
still trying to get it to work on my Mac.

If anyone has done this and can help, you assistance will be greatly
appreciated !

(EdUarDo) #4

Leigh wrote:

Thanks for the tip. I had a look though this and have an idea where to
start now. I beliew I need to get a hold of a working database driver.

There is an adapter at http://dev.rubyonrails.org/ticket/2030 but I don't
know how to integrate it into Rails. I'm going to have a look at the URL's
from previous post.

I am trying to use Sybase and the driver I'm trying to use the driver
I found here: http://raa.ruby-lang.org/project/sybase-ctlib/ but am
still trying to get it to work on my Mac.

I've got it to work on Linux.