From: | "James B(dot) Byrne" <byrnejb(at)harte-lyne(dot)ca> |
---|---|
To: | "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net> |
Cc: | "Eric Hu" <eric(at)lemurheavy(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: How to handle bogus nulls from ActiveRecord |
Date: | 2011-05-13 17:04:22 |
Message-ID: | 50499.216.185.71.25.1305306262.squirrel@webmail.harte-lyne.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, May 13, 2011 11:50, Dickson S. Guedes wrote:
>
> Well, fetching from database it came nil and when saved into, it was
> trying to save a serialized object. From postgresql_adapter.rb [1]
> you
> can see that it returns the correct internal type based when field
> type is datetime, but i can't see the same thing for 'date', i
> suppose
> that it going [2] to 'super' [3], so I suppose that this method [4]
> should be override in 'postgresql_adapter.rb'.
>
I have opened an issue for this with the ActiveRecord folks.
https://github.com/rails/rails/issues/544
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB(at)Harte-Lyne(dot)ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
From | Date | Subject | |
---|---|---|---|
Next Message | Bob Pawley | 2011-05-13 17:30:39 | Re: Postgredac Dump |
Previous Message | Derrick Rice | 2011-05-13 16:56:25 | Migrating to a WAL-shipped replication cluster |