Preserving seconds fraction in PG timestamps when updating?


#1

I have this code:

Link.find(params[:id]).toggle!(‘active’)

Before it, its timestamp is:

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

After:

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
it?

Thanks,
csn


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com