Re: How to handle bogus nulls from ActiveRecord
От | James B. Byrne |
---|---|
Тема | Re: How to handle bogus nulls from ActiveRecord |
Дата | |
Msg-id | 50499.216.185.71.25.1305306262.squirrel@webmail.harte-lyne.ca обсуждение исходный текст |
Ответ на | Re: How to handle bogus nulls from ActiveRecord ("Dickson S. Guedes" <listas@guedesoft.net>) |
Ответы |
Infinity dates in RoR was How to handle bogus nulls from
ActiveRecord
|
Список | 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@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
В списке pgsql-general по дате отправления: