I noticed a strange behavior with Memcached store.
The first time I store an model object, Memcached correctly store the
timestamps, using the configured time zone (UTC for me).
When I update that object and cache it again, Memcached uses the server
local time for the updated_at attribute, instead of UTC.
comment.updated_at # => "2008-08-25 10:06:09" # UTC
cached_comment.updated_at # => 2008-08-25 12:06:09" # local time
I believe it's a bug, because it doesn't behaves the same with other
caching systems (:file_store and :memory_store). I experienced this
problem with Rails 2.1.0 and current edge.