Skip to content

Instantly share code, notes, and snippets.

@elight
Created July 13, 2011 20:09
Show Gist options
  • Save elight/1081206 to your computer and use it in GitHub Desktop.
Save elight/1081206 to your computer and use it in GitHub Desktop.
ruby-1.9.2-p180-patched :016 > Time.zone = "UTC"
=> "UTC"
ruby-1.9.2-p180-patched :017 > Post.find(514).cache_key
=> "posts/514-20110713185059"
ruby-1.9.2-p180-patched :018 > Time.zone = User.last.time_zone
=> "Eastern Time (US & Canada)"
ruby-1.9.2-p180-patched :019 > Time.zone = "Eastern Time (US & Canada)"
=> "Eastern Time (US & Canada)"
ruby-1.9.2-p180-patched :020 > Post.find(514).cache_key
=> "posts/514-20110713145059"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment