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@Harte-Lyne.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