From: Chad Perrin Date: 2007-10-18T00:37:07+09:00 Subject: Re: recommendations for working with PostgreSQL On Wed, Oct 17, 2007 at 11:21:15AM +0900, Ben Bleything wrote: > On Wed, Oct 17, 2007, Chad Perrin wrote: > > I have need to work with PostgreSQL via Ruby. What gems/modules do you > > recommend? Are there any quickstart-type howtos online to which you > > might direct me? > > If you're looking for an ORM, there is of course ActiveRecord, and > someone else already offered up Og. I'm not necessarily looking for ORM, though now that I think about it I can't help but wonder if every single programmatic interface between Ruby and a relational database might qualify in some manner as ORM (since "everything is an object" in Ruby). In the Perl world, I'd tend to use DBI for all things database-y, and was wondering what the preferred approach would be in the Ruby world especially in the case of PostgreSQL. > > As far as the driver goes, the ruby-postgres gem seems to be the way to > go. Thanks for confirming that. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] W. Somerset Maugham: "The ability to quote is a serviceable substitute for wit."