pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: CSN <cool_screen_name90001@yahoo.com>
To: Michael Fuhr <mike@fuhr.org>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: ruby/postgres - getting assoc array of rows?
Date: Tue, 22 Nov 2005 00:49:32 -0800 (PST)
Message-ID: <20051122084932.93180.qmail@web52901.mail.yahoo.com> (raw)
In-Reply-To: <20051121020402.GA63522@winnie.fuhr.org>


It looks like the snapshot version causes problems for Rails :(

http://dev.rubyonrails.org/ticket/2977
http://www.ruby-forum.com/topic/9114#new

reals and numerics get converted to values like nil, 1, 2, true, ...

I had to uninstall it and go back to the 0.71 version. The postgres.so files get installed in
different locations - perhaps I can configure Rails and commandline scripts to load the one they
need.

csn


--- Michael Fuhr <mike@fuhr.org> wrote:

> On Sun, Nov 20, 2005 at 12:28:32PM -0800, CSN wrote:
> > Ah.. I installed the snapshot manually and the script works fine now.
> > They should update the gem version - Jan. 2003 is quite a while ago.
> > Does it matter if the postgres library is installed via 'gem' or not?
> 
> I wouldn't think so, except maybe for how your program loads the
> code (require vs. require_gem).
> 
> -- 
> Michael Fuhr
> 



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com



view thread (10+ messages)

Message-ID: <20051122084932.93180.qmail@web52901.mail.yahoo.com>
Permalink:  ../20051122084932.93180.qmail@web52901.mail.yahoo.com/
Also on:    postgresql.org/message-id/20051122084932.93180.qmail@web52901.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: cool_screen_name90001@yahoo.com, mike@fuhr.org
  Subject: Re: ruby/postgres - getting assoc array of rows?
  In-Reply-To: <20051122084932.93180.qmail@web52901.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox