[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] SQLite3/Ruby 0.9.0

Jamis Buck

1/5/2005 5:19:00 PM

SQLite3/Ruby is a set of bindings to allow Ruby programs to interact
with SQLite3 databases.

http://rubyforge.org/projects/s...

This release deprecates the use of the DL (pure-Ruby) driver. The DL
driver is unstable, and is likely to remain so for the foreseeable
future due to architectural issues with the Ruby/DL library itself.

Instead of the DL driver, you are encouraged to use the new native
(compiled) driver. This is the default driver in this release. (This
release includes pre-compiled binaries for Windows users.)

You can still use the DL driver by specifying it when you open
a database:

db = SQLite3::Database.open( "foo.db", :driver => "DL" )

But you are warned: not all SQLite3 features work correctly with the
DL driver, on all platforms. (In particular, the DL driver will not
work with ActiveRecord on MacOS X, due to problems with the
last_insert_rowid method. If you want to use SQLite3 with
ActiveRecord, you must use the native driver.)

This release includes a few fixes to the DL driver (to allow it to
work with Ruby 1.8.1, and to support MacOS X "out of the box"). It
also makes Database#quote a class method (instead of an instance
method), and fixes various bugs.

Please report any bugs you find.

- Jamis

--
Jamis Buck
jamis_buck@byu.edu
http://www.jamisbuck...
------------------------------
"I am Victor of Borge. You will be assimil-nine-ed."