database driver developers guide

L

Leigh

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.
 
D

Dave Burt

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:
http://wiki.rubyonrails.com/rails/show/HowToWriteAnActiveRecordAdapter
http://wiki.rubyonrails.com/rails/show/DatabaseDrivers
http://wiki.rubyonrails.com/rails/show/HowToUseRailsWithoutADatabase

Cheers,
Dave
 
L

Leigh

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 !
 
E

EdUarDo

Leigh said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top