Also, I've used Og ( part of the Nitro project ) since it has a pure-ruby driver for Mysql and Mysql for windows ... also works well.
And, there is ALSO postgres-pr ( another pure ruby database interface library ) for interacting with PostgreSQL databases.
j.
On 11/29/05, Chris McMahon <[EMAIL PROTECTED]> wrote:
> I am having a hard time finding how to setup some database libraries
> to make some assertions on my code after driving the UI. Since I am
> primarly looking for general DB access, I have tried ruby-dbi with
> little success by now. Maybe I will try ruby-mysql, but I really want
> something not tied to one database.
A quick Google shows that MySQL has an ODBC interface. I've been
having good success with the odbc library included in the current Ruby
Windows installation: http://www.ch-werner.de/rubyodbc/odbc.html. I
assume it's available in the *NIX distro as well.
In some ways, it's nicer than Perl's DBI. It might lack some
features, but so far it's done everything I've needed, and with just a
little practice, it's really pretty intuitive as well.
-Chris
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
--
"Remember. Understand. Believe. Yield! -> http://ruby-lang.org"
Jeff Wood
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
