Forum: Ruby on Rails Preserving seconds fraction in PG timestamps when updating?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
CSN (Guest)
on 2006-02-15 00:42
(Received via mailing list)
I have this code:


Before it, its timestamp is:

2005-11-20 20:45:48.741973-07


2005-11-20 20:45:48-07

Why does Rails take it upon itself to truncate the
seconds fraction? How can I get Rails to not change


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
This topic is locked and can not be replied to.