Skip to content

Instantly share code, notes, and snippets.

@bdotdub
Created June 27, 2013 15:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save bdotdub/5877359 to your computer and use it in GitHub Desktop.
3.2 Rails.cache weirdness
Loading development environment (Rails 3.2.13)
1.9.3p286 :001 > Rails.cache.fetch("test") { "benny" }
=> "benny"
1.9.3p286 :002 > Rails.cache.fetch("test") { "benny" }
=> "\x04\bI\"\nbenny\x06:\x06ET"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment