On Thu, Feb 16, 2006 at 04:23:37PM +0000, Dominic Mitchell wrote: > On Thu, Feb 16, 2006 at 04:32:37PM +0100, Victor Jalencas wrote: > > Dominic Mitchell wrote: > > > > > > Actually, it's definitely something odd going in ActiveRecord. Look at > > > this: > > > > > > % ruby script/console production > > > Loading production environment. > > > >> Article.new.created_at > > > => Thu Feb 16 15:16:58 UTC 2006 > > > >> sleep 60 > > > => 60 > > > >> Article.new.created_at > > > => Thu Feb 16 15:16:58 UTC 2006 > > > > > > That's not right, I should get a new created_at time when I ask for a > > > new article... > > > > > Hi Dominic, > > > > are you using, perhaps, PostgreSQL? There's an issue with that database > > and the created_{at,on} attributes... > > Yes, I am. How interesting. Do you have any more information?
Aha! Got it: http://dev.rubyonrails.org/ticket/2873 Many thanks for your help, Victor. I'll take it up with that ticket... -Dom _______________________________________________ Typo-list mailing list Typo-list@rubyforge.org http://rubyforge.org/mailman/listinfo/typo-list