[ANN] dbi-dbrc 0.3.0

D

Daniel Berger

Hi all,

I'm happy to announce dbi-dbrc 0.3.0

What is it?

This is a supplement to the dbi module, allowing you
to avoid hard-coding passwords in your programs that
make database connections by using a special config
file. It's also convenient. :)

What's new?

Win32 support has been added, although it is not (yet)
subject to file permission/attribute restrictions.

How do you use it?

require "dbi"
require "dbi/dbrc"

db = DBI::DBRC.new("my_db","some_user")
dbh = DBI.connect(db.dsn,db.user,db.passwd)
...

Win32 users will need the win32-etc package, available
on the RAA.

You can find the home page for dbi-dbrc at
http://ruby-miscutils.sourceforge.net

Enjoy!

Dan

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
 

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,780
Messages
2,569,611
Members
45,279
Latest member
LaRoseDermaBottle

Latest Threads

Top