On Tue, Jan 17, 2012 at 02:25:08PM +1030, Anthony Richardson wrote: > I monkey patched the PG adapter to type cast calculated values returned > from views. I think this solves the problem in this thread. > > https://gist.github.com/1624535 > > If this looks like a solution to the original poster I can expand it to map > more datatypes and submit a pull request.
Yes, please. I will merge it. Only two suggestions: 1) Assign the OIDs to constants 2) Break out the giant case / when to a method Thanks! -- Aaron Patterson http://tenderlovemaking.com/
pgpTGch9NWftM.pgp
Description: PGP signature
